|
5 | 5 | import graphql.scalars.datetime.DateScalar;
|
6 | 6 | import graphql.scalars.datetime.DateTimeScalar;
|
7 | 7 | import graphql.scalars.datetime.TimeScalar;
|
| 8 | +import graphql.scalars.java.JavaPrimitives; |
| 9 | +import graphql.scalars.locale.LocaleScalar; |
8 | 10 | import graphql.scalars.numeric.NegativeFloatScalar;
|
9 | 11 | import graphql.scalars.numeric.NegativeIntScalar;
|
10 | 12 | import graphql.scalars.numeric.NonNegativeFloatScalar;
|
|
17 | 19 | import graphql.scalars.object.ObjectScalar;
|
18 | 20 | import graphql.scalars.regex.RegexScalar;
|
19 | 21 | import graphql.scalars.url.UrlScalar;
|
20 |
| -import graphql.scalars.locale.LocaleScalar; |
21 | 22 | import graphql.schema.GraphQLScalarType;
|
22 | 23 |
|
23 | 24 | /**
|
@@ -205,4 +206,35 @@ public static RegexScalar.Builder newRegexScalar(String name) {
|
205 | 206 | public static AliasedScalar.Builder newAliasedScalar(String name) {
|
206 | 207 | return new AliasedScalar.Builder().name(name);
|
207 | 208 | }
|
| 209 | + |
| 210 | + /** |
| 211 | + * This represents the "Long" type which is a representation of java.lang.Long |
| 212 | + */ |
| 213 | + public static final GraphQLScalarType GraphQLLong = JavaPrimitives.GraphQLLong; |
| 214 | + |
| 215 | + /** |
| 216 | + * This represents the "Short" type which is a representation of java.lang.Short |
| 217 | + */ |
| 218 | + public static final GraphQLScalarType GraphQLShort = JavaPrimitives.GraphQLShort; |
| 219 | + |
| 220 | + /** |
| 221 | + * This represents the "Byte" type which is a representation of java.lang.Byte |
| 222 | + */ |
| 223 | + public static final GraphQLScalarType GraphQLByte = JavaPrimitives.GraphQLByte; |
| 224 | + |
| 225 | + /** |
| 226 | + * This represents the "BigDecimal" type which is a representation of java.math.BigDecimal |
| 227 | + */ |
| 228 | + public static final GraphQLScalarType GraphQLBigDecimal = JavaPrimitives.GraphQLBigDecimal; |
| 229 | + |
| 230 | + /** |
| 231 | + * This represents the "BigInteger" type which is a representation of java.math.BigInteger |
| 232 | + */ |
| 233 | + public static final GraphQLScalarType GraphQLBigInteger = JavaPrimitives.GraphQLBigInteger; |
| 234 | + |
| 235 | + /** |
| 236 | + * This represents the "Char" type which is a representation of java.lang.Character |
| 237 | + */ |
| 238 | + public static final GraphQLScalarType GraphQLChar = JavaPrimitives.GraphQLChar; |
| 239 | + |
208 | 240 | }
|
0 commit comments