graphql-js
graphql-js copied to clipboard
scalars: ID and String support for serializing BigInt
Add support to serialize BigInt for String and ID scalar.
The committers are authorized under a signed CLA.
- :white_check_mark: hj (ab8c9ba64ceab1a2a12717067802a1913dd8f914)
This would be extremely handy! I'm about to switch to representing ids as bigint
in my app, and it results in ID cannot represent a non-string and non-integer value: ...
. This patch fixes that.