We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d01a074 commit 9e59bdaCopy full SHA for 9e59bda
1 file changed
src/main/java/graphql/Scalars.java
@@ -1,15 +1,15 @@
1
package graphql;
2
3
4
-import java.math.BigInteger;
5
-
6
import graphql.language.BooleanValue;
7
import graphql.language.FloatValue;
8
import graphql.language.IntValue;
9
import graphql.language.StringValue;
10
import graphql.schema.Coercing;
11
import graphql.schema.GraphQLScalarType;
12
+import java.math.BigInteger;
+
13
public class Scalars {
14
15
@@ -34,8 +34,6 @@ public Object parseValue(Object input) {
34
public Object parseLiteral(Object input) {
35
if (!(input instanceof IntValue)) return null;
36
BigInteger value = ((IntValue) input).getValue();
37
- // Check if out of bounds.
38
- Integer.parseInt(value.toString());
39
return value.intValue();
40
}
41
});
0 commit comments