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
InvalidNullError
value
When can InvalidNullError return ExecutionError for value?
ExecutionError
graphql-ruby/lib/graphql/invalid_null_error.rb
Lines 12 to 13 in c2dedb0
Looks to only be set here
graphql-ruby/lib/graphql/execution/interpreter/runtime.rb
Lines 469 to 476 in c2dedb0
# @return [nil] The invalid value for this field attr_reader :value
At which point, we might as well drop the attribute entirely?
The text was updated successfully, but these errors were encountered:
👍 LGTM. Probably the implementation changed over the years, but that (nine-year-old!) doc comment wasn't updated.
Sorry, something went wrong.
InvalidNullError#value
nil
Opened #5256 to resolve this feedback
Successfully merging a pull request may close this issue.
Describe the bug
When can
InvalidNullError
returnExecutionError
forvalue
?graphql-ruby/lib/graphql/invalid_null_error.rb
Lines 12 to 13 in c2dedb0
Steps to reproduce
Looks to only be set here
graphql-ruby/lib/graphql/execution/interpreter/runtime.rb
Lines 469 to 476 in c2dedb0
Expected behavior
At which point, we might as well drop the attribute entirely?
The text was updated successfully, but these errors were encountered: