class GraphQL::Language::InlineFragment
- GraphQL::Language::InlineFragment
- GraphQL::Language::ASTNode
- Reference
- Object
Overview
An unnamed fragment, defined directly in the query with ... { }
Defined in:
graphql/language/nodes.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #children
- #directives : Array(Directive)
- #directives=(directives : Array(Directive))
-
#hash(hasher)
See
Object#hash(hasher)
- #selections : Array(Selection)
- #selections=(selections : Array(Selection))
- #type : Union(Type, Nil)
- #type=(type : Union(Type, Nil))
Instance methods inherited from class GraphQL::Language::ASTNode
children
children,
visit(block : ASTNode -> _)
visit
Constructor Detail
def self.new(type : GraphQL::Language::ASTNode | Nil, directives, selections, **rest)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.