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

#col, #filename, #line

Method Summary

Methods inherited from AbstractNode

#==, #children, #children_method_name, children_of_type, #delete_child, inherited, #initialize, #initialize_copy, #merge, #position, #replace_child, #scalars, #to_query_string

Constructor Details

This class inherits a constructor from GraphQL::Language::Nodes::AbstractNode

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 488

#typeTypeName, ...

Returns The expected type of this value.

Returns:



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