graphql-ruby
graphql-ruby copied to clipboard
Ruby implementation of GraphQL
PoC for #5081
**Is your feature request related to a problem? Please describe.** Our team is utilizing GraphQL-Ruby for a subgraph within an Apollo Federated Supergraph. To achieve comprehensive observability, we're relying on...
When I was tinkering around and profiling GraphQL Ruby around a year ago, I found some small+easy perf wins from optimizing some commonly queried "predicate methods", by defining them via...
**Describe the bug** GraphQL Enterprise ObjectCache calls private_context_fingerprint_for method for fields configured with cacheable(public: true), causing crashes when no user authentication context is present. Public cached fields should not require...
So if it's not needed you don't have to define the query type again. First of all, I have no clue if what I'm doing here makes sense or not,...
### TL;DR; When a parent schema enables the `GraphQL::Schema::Visibility` plugin using `preload: true`, child schemas will crash when declaring the root query object. ``` /ruby/3.4.4/gems/graphql-2.5.9/lib/graphql/schema/visibility.rb:191:in 'GraphQL::Schema::Visibility#ensure_all_loaded': undefined method 'add?' for...
Fixes #5384
## PR Description This PR makes it possible to configure the `node` and `nodes` scalar type through the `Configuration` class. For example, you could do this in a Rails initializer:...
I've been following along with `@byroot`'s recent Ractor-related blog posts, and it makes me want to make GraphQL-Ruby play nice with non-main Ractors. I think it will be a long...
We are using Defer in production and we are having some strange behaviour. The request bellow seems to fail randomly (maybe 10-30% of the time). It looks to us that...