Class: GraphQL::Language::Nodes::OperationDefinition

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

Overview

A query, mutation or subscription. May be anonymous or named. May be explicitly typed (eg mutation { ... }) or implicitly a query (eg { ... }).

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, #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

#operation_typeString?


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

#selectionsArray<Field>


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

#variablesArray<VariableDefinition>


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