This repository has been archived by the owner on Nov 8, 2021. It is now read-only.
3.3.0
Enhancements
- Added a configuration option to represent integers as
Float
in the GraphQL schema. Since Realm integers can be up to 64-bit and the GraphQLInt
type is limited to 32-bits, this setting allows you to extend the range of the numbers you can query to match javascript's limit (2^53 - 1). The downside is that you'll lose the type checking and you may accidentally pass floats where integers are expected. Doing so will cause Realm to automatically round the number down and treat it as an integer. To enable that option, pass
presentIntsAsFloatsInSchema: true
in theGraphQLService
constructor.