class

GraphQL::Language::InlineFragment

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

An unnamed fragment, defined directly in the query with ... { }

Constructors

new(type : GraphQL::Language::ASTNode | Nil, 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)

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