We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f548a1 commit 84aac28Copy full SHA for 84aac28
lib/graphql/query/variables.rb
@@ -26,7 +26,7 @@ def initialize(ctx, ast_variables, provided_variables)
26
# - Then, fall back to the default value from the query string
27
# If it's still nil, raise an error if it's required.
28
variable_type = schema.type_from_ast(ast_variable.type, context: ctx)
29
- if variable_type.nil? || !variable_type.kind.input?
+ if variable_type.nil? || !variable_type.unwrap.kind.input?
30
# Pass -- it will get handled by a validator
31
else
32
variable_name = ast_variable.name
0 commit comments