class GraphQL::Language::Nodes::FragmentSpread
Application of a named fragment in a selection
Attributes
children[RW]
directives[RW]
name[RW]
Public Instance Methods
initialize_node(name: nil, directives: [])
click to toggle source
@!attribute name
@return [String] The identifier of the fragment to apply, corresponds with {FragmentDefinition#name}
# File lib/graphql/language/nodes.rb, line 248 def initialize_node(name: nil, directives: []) @name = name @directives = directives end