Closed lax1n closed 2 years ago
I'm not quite following what this PR does. The GraphQL does not have the data type BigInt
while the graphql-ruby
gem does have one. There are also a few third-party bigint implementations in the npm world. What are the relations to them and how does this PR make graphlient better?
@lax1n Add a test that maybe demonstrates how this is a good idea for Graphlient?
I'm not quite following what this PR does. The GraphQL does not have the data type
BigInt
while thegraphql-ruby
gem does have one. There are also a few third-party bigint implementations in the npm world. What are the relations to them and how does this PR make graphlient better?
You're completely right!
I can add that my motivation for adding support for BigInt
in ruby notation was that I was working on an integration with TheGraph where this scalar type was required and ended up doing a monkey patch to make it work on my end.
That being said, I have not done enough research on the matter to make a case for this PR anymore so I'll close it for now.
Thanks for the feedback!
Currently not possible to use
BigInt
in rails notation.