graphql-client
graphql-client copied to clipboard
A Ruby library for declaring, composing and executing GraphQL queries
Potential fix for https://github.com/github/graphql-client/issues/288 Adds a configuration for handling unknown enum values returned by the server
Closes https://github.com/github/graphql-client/issues/300 This PR - defines singleton methods on `ObjectClass` for field definitions whose names match Ruby's built-in method names such as `Object#method`. - adds an allowlist of fields for...
Replaces: https://github.com/github/graphql-client/pull/297 `constants.include?` allocate an array every time and does an `O(N)` search. `const_defined?` saves that allocation and does an `O(1)` lookup. Additionally it's more correct since it will return...
We noticed that Ruby's built in methods get called rather than the accessor methods defined by this gem on the query response from 0.17.0. This behaviour has come up after...