Method: GraphQL::StaticValidation::VariablesAreInputTypesError#initialize

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

#initialize(message, path: nil, nodes: [], type:, name:) ⇒ VariablesAreInputTypesError

Returns a new instance of VariablesAreInputTypesError.



8
9
10
11
12
# File 'lib/graphql/static_validation/rules/variables_are_input_types_error.rb', line 8

def initialize(message, path: nil, nodes: [], type:, name:)
  super(message, path: path, nodes: nodes)
  @type_name = type
  @variable_name = name
end