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

astFromValue - JavaScript BigInt support

Open ardatan opened this issue 1 year ago • 6 comments

This PR adds support for BigInt values to astFromValue. It coerces whenever possible instead of failing. This will also allow custom scalars like https://the-guild.dev/graphql/scalars/docs/scalars/big-int to get a BigInt as a default value. Similar to #4085

ardatan avatar May 08 '24 15:05 ardatan