Class: GraphQL::Language::Nodes::Field

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb

Overview

Field = AbstractNode.create(:name, :alias, :arguments, :directives, :selections)

Instance Method Summary collapse

Instance Method Details

#argumentsObject



64
65
66
# File 'lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb', line 64

def arguments
  @arguments ||= []
end

#directivesObject



60
61
62
# File 'lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb', line 60

def directives
  @directives ||= []
end

#selectionsObject



56
57
58
# File 'lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb', line 56

def selections
  @selections ||= []
end