Method: GraphQL::StaticValidation::RequiredInputObjectAttributesArePresentError#initialize

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

#initialize(message, path:, nodes:, argument_type:, argument_name:, input_object_type:) ⇒ RequiredInputObjectAttributesArePresentError

Returns a new instance of RequiredInputObjectAttributesArePresentError.



9
10
11
12
13
14
# File 'lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb', line 9

def initialize(message, path:, nodes:, argument_type:, argument_name:, input_object_type:)
  super(message, path: path, nodes: nodes)
  @argument_type = argument_type
  @argument_name = argument_name
  @input_object_type = input_object_type
end