class

GraphQL::Language::FragmentDefinition

Inherits GraphQL::Language::ASTNode < Reference < Object

Constructors

new(name : Nil | String, type : GraphQL::Language::ASTNode, directives, selections, **rest)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

children
Source
directives
directives=(directives : Array(Directive))
hash(hasher)

See Object#hash(hasher)

name
name=(name : Union(String, Nil))
selections
selections=(selections : Array(Selection))
type
type=(type : Type)