graphql-js icon indicating copy to clipboard operation
graphql-js copied to clipboard

scalars: ID and String support for serializing BigInt

Open Hkmu opened this issue 3 years ago • 2 comments

Add support to serialize BigInt for String and ID scalar.

Hkmu avatar May 17 '21 14:05 Hkmu

CLA Signed

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.

papandreou avatar Apr 28 '22 18:04 papandreou