Skip to content

Commit 9658168

Browse files
committed
remove non standard Scalars
1 parent aa9f162 commit 9658168

19 files changed

+16
-1290
lines changed

src/main/java/graphql/Scalars.java

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
package graphql;
22

33

4-
import graphql.scalar.GraphqlBigDecimalCoercing;
5-
import graphql.scalar.GraphqlBigIntegerCoercing;
64
import graphql.scalar.GraphqlBooleanCoercing;
7-
import graphql.scalar.GraphqlByteCoercing;
8-
import graphql.scalar.GraphqlCharCoercing;
95
import graphql.scalar.GraphqlFloatCoercing;
106
import graphql.scalar.GraphqlIDCoercing;
117
import graphql.scalar.GraphqlIntCoercing;
12-
import graphql.scalar.GraphqlLongCoercing;
13-
import graphql.scalar.GraphqlShortCoercing;
148
import graphql.scalar.GraphqlStringCoercing;
159
import graphql.schema.GraphQLScalarType;
1610

@@ -61,61 +55,4 @@ public class Scalars {
6155
*/
6256
public static final GraphQLScalarType GraphQLID = GraphQLScalarType.newScalar()
6357
.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-
12158
}

src/main/java/graphql/scalar/GraphqlBigDecimalCoercing.java

Lines changed: 0 additions & 73 deletions
This file was deleted.

src/main/java/graphql/scalar/GraphqlBigIntegerCoercing.java

Lines changed: 0 additions & 86 deletions
This file was deleted.

src/main/java/graphql/scalar/GraphqlByteCoercing.java

Lines changed: 0 additions & 80 deletions
This file was deleted.

src/main/java/graphql/scalar/GraphqlCharCoercing.java

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)