Class: GraphQL::Language::Nodes::InlineFragment

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

Overview

InlineFragment = AbstractNode.create(:type, :directives, :selections)

Instance Method Summary collapse

Instance Method Details

#directivesObject



85
86
87
# File 'lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb', line 85

def directives
  @directives ||= []
end

#selectionsObject



88
89
90
# File 'lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb', line 88

def selections
  @selections ||= []
end