class GraphQL::Language::Nodes::FragmentDefinition
A reusable fragment, defined at document-level.
def initialize_node(name: nil, type: nil, directives: [], selections: [])
-
(String)
- the type condition for this fragment (name of type which it may apply to)
def initialize_node(name: nil, type: nil, directives: [], selections: []) @name = name @type = type @directives = directives @selections = selections end