This scalar behaves just like the native
GraphQLInt scalar, but it allows integers that require more than 32-bits. Any
9,007,199,254,740,991) is considered a valid value. But if you
need more than 52-bits, you should use
The GraphQL spec (opens in a new tab) limits its Int type to 32-bits. Maybe you've seen this error before: issue on graphql-js (opens in a new tab).
Based on graphql-bigint (opens in a new tab). Even though stems' implementation looks the same
BigInt scalar, it is different because our
SafeInt implementation doesn't support more than 52-bit integers.