File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 66# As per the GraphQL Spec, Integers are only treated as valid when a valid
77# 32-bit signed integer, providing the broadest support across platforms.
88#
9- # n.b. JavaScript's integers are safe between -(2^53 - 1) and 2^53 - 1 because
9+ # n.b. JavaScript's integers are safe between -(2^31 - 1) and 2^31 - 1 because
1010# they are internally represented as IEEE 754 doubles.
1111MAX_INT = 2147483647
1212MIN_INT = - 2147483648
@@ -37,7 +37,7 @@ def parse_int_literal(ast):
3737GraphQLInt = GraphQLScalarType (
3838 name = 'Int' ,
3939 description = 'The `Int` scalar type represents non-fractional signed whole numeric '
40- 'values. Int can represent values between -(2^53 - 1) and 2^53 - 1 since '
40+ 'values. Int can represent values between -(2^31 - 1) and 2^31 - 1 since '
4141 'represented in JSON as double-precision floating point numbers specified'
4242 'by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).' ,
4343 serialize = coerce_int ,
You can’t perform that action at this time.
0 commit comments