class GraphQL::Language::Field
- GraphQL::Language::Field
- GraphQL::Language::ASTNode
- Reference
- Object
Overview
A single selection in a A single selection in a GraphQL query.
Defined in:
graphql/language/nodes.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #_alias : Union(String, Nil)
- #_alias=(_alias : Union(String, Nil))
- #arguments : Array(Argument)
- #arguments=(arguments : Array(Argument))
- #children
- #directives : Array(Directive)
- #directives=(directives : Array(Directive))
-
#hash(hasher)
See
Object#hash(hasher)
- #name : String
- #name=(name : String)
- #selections : Array(Selection)
- #selections=(selections : Array(Selection))
Instance methods inherited from class GraphQL::Language::ASTNode
children
children,
visit(block : ASTNode -> _)
visit
Constructor Detail
def self.new(name : String, _alias : Nil | String, arguments, 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?
.