|
1 | 1 | package graphql; |
2 | 2 |
|
3 | 3 |
|
4 | | -import graphql.scalar.GraphqlBigDecimalCoercing; |
5 | | -import graphql.scalar.GraphqlBigIntegerCoercing; |
6 | 4 | import graphql.scalar.GraphqlBooleanCoercing; |
7 | | -import graphql.scalar.GraphqlByteCoercing; |
8 | | -import graphql.scalar.GraphqlCharCoercing; |
9 | 5 | import graphql.scalar.GraphqlFloatCoercing; |
10 | 6 | import graphql.scalar.GraphqlIDCoercing; |
11 | 7 | import graphql.scalar.GraphqlIntCoercing; |
12 | | -import graphql.scalar.GraphqlLongCoercing; |
13 | | -import graphql.scalar.GraphqlShortCoercing; |
14 | 8 | import graphql.scalar.GraphqlStringCoercing; |
15 | 9 | import graphql.schema.GraphQLScalarType; |
16 | 10 |
|
@@ -61,61 +55,4 @@ public class Scalars { |
61 | 55 | */ |
62 | 56 | public static final GraphQLScalarType GraphQLID = GraphQLScalarType.newScalar() |
63 | 57 | .name("ID").description("Built-in ID").coercing(new GraphqlIDCoercing()).build(); |
64 | | - |
65 | | - /** |
66 | | - * This represents the "Long" type which is a representation of java.lang.Long |
67 | | - * |
68 | | - * @deprecated The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with |
69 | | - * the exact semantics. These will be removed in the future version and moved to another library. |
70 | | - */ |
71 | | - public static final GraphQLScalarType GraphQLLong = GraphQLScalarType.newScalar() |
72 | | - .name("Long").description("Long type").coercing(new GraphqlLongCoercing()).build(); |
73 | | - |
74 | | - /** |
75 | | - * This represents the "Short" type which is a representation of java.lang.Short |
76 | | - * |
77 | | - * @deprecated The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with |
78 | | - * the exact semantics. These will be removed in the future version and moved to another library. |
79 | | - */ |
80 | | - public static final GraphQLScalarType GraphQLShort = GraphQLScalarType.newScalar() |
81 | | - .name("Short").description("Built-in Short as Int").coercing(new GraphqlShortCoercing()).build(); |
82 | | - |
83 | | - /** |
84 | | - * This represents the "Byte" type which is a representation of java.lang.Byte |
85 | | - * |
86 | | - * @deprecated The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with |
87 | | - * the exact semantics. These will be removed in the future version and moved to another library. |
88 | | - */ |
89 | | - public static final GraphQLScalarType GraphQLByte = GraphQLScalarType.newScalar() |
90 | | - .name("Byte").description("Built-in Byte as Int").coercing(new GraphqlByteCoercing()).build(); |
91 | | - |
92 | | - |
93 | | - /** |
94 | | - * This represents the "BigInteger" type which is a representation of java.math.BigInteger |
95 | | - * |
96 | | - * @deprecated The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with |
97 | | - * the exact semantics. These will be removed in the future version and moved to another library. |
98 | | - */ |
99 | | - public static final GraphQLScalarType GraphQLBigInteger = GraphQLScalarType.newScalar() |
100 | | - .name("BigInteger").description("Built-in java.math.BigInteger").coercing(new GraphqlBigIntegerCoercing()).build(); |
101 | | - |
102 | | - /** |
103 | | - * This represents the "BigDecimal" type which is a representation of java.math.BigDecimal |
104 | | - * |
105 | | - * @deprecated The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with |
106 | | - * the exact semantics. These will be removed in the future version and moved to another library. |
107 | | - */ |
108 | | - public static final GraphQLScalarType GraphQLBigDecimal = GraphQLScalarType.newScalar() |
109 | | - .name("BigDecimal").description("Built-in java.math.BigDecimal").coercing(new GraphqlBigDecimalCoercing()).build(); |
110 | | - |
111 | | - |
112 | | - /** |
113 | | - * This represents the "Char" type which is a representation of java.lang.Character |
114 | | - * |
115 | | - * @deprecated The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with |
116 | | - * the exact semantics. These will be removed in the future version and moved to another library. |
117 | | - */ |
118 | | - public static final GraphQLScalarType GraphQLChar = GraphQLScalarType.newScalar() |
119 | | - .name("Char").description("Built-in Char as Character").coercing(new GraphqlCharCoercing()).build(); |
120 | | - |
121 | 58 | } |
0 commit comments