Class: GraphQL::Language::Nodes::VariableDefinition

Inherits:
AbstractNode
  • Object
show all
Defined in:
lib/graphql/language/nodes.rb

Overview

An operation-level query variable

Constant Summary

Constants inherited from AbstractNode

AbstractNode::NO_CHILDREN

Instance Attribute Summary collapse

Attributes inherited from AbstractNode

#filename

Method Summary

Methods inherited from AbstractNode

#==, #children, #children_method_name, children_of_type, #col, #definition_line, #delete_child, inherited, #initialize_copy, #line, #merge, #position, #replace_child, #scalars, #to_query_string

Instance Attribute Details

#default_valueString, ...

Returns A Ruby value to use if no other value is provided.

Returns:

  • (String, Integer, Float, Boolean, Array, NullValue)

    A Ruby value to use if no other value is provided



# File 'lib/graphql/language/nodes.rb', line 550

#typeTypeName, ...

Returns The expected type of this value.

Returns:



# File 'lib/graphql/language/nodes.rb', line 553