Module: GraphQL::StaticValidation::RequiredInputObjectAttributesArePresent

Defined in:
lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb

Instance Method Summary collapse

Instance Method Details

#on_input_object(node, parent) ⇒ Object



5
6
7
8
9
10
# File 'lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb', line 5

def on_input_object(node, parent)
  if parent.is_a? GraphQL::Language::Nodes::Argument
    validate_input_object(node, context, parent)
  end
  super
end