We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In this case, the fields aren't resolved and @defer doesn't set aside any work for later:
@defer
{ things { ... ThingFields } } fragment ThingFields on Thing { ... @defer { name } }
As a result, context[:deferrals] is nil and the fields are never resolved. I think it must be a bug in gather_selections.rb:
context[:deferrals]
gather_selections.rb
graphql-ruby/lib/graphql/execution/interpreter/runtime.rb
Line 139 in 52ec07b
For reference, this query does work fine:
{ ...QueryFields } fragment QueryFields on Query { things { ... @defer { name } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this case, the fields aren't resolved and
@defer
doesn't set aside any work for later:As a result,
context[:deferrals]
is nil and the fields are never resolved. I think it must be a bug ingather_selections.rb
:graphql-ruby/lib/graphql/execution/interpreter/runtime.rb
Line 139 in 52ec07b
For reference, this query does work fine:
The text was updated successfully, but these errors were encountered: