class GraphQL::Language::Field

Overview

A single selection in a A single selection in a GraphQL query.

Defined in:

graphql/language/nodes.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

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


def _alias : Union(String, Nil) #

def _alias=(_alias : Union(String, Nil)) #

def arguments : Array(Argument) #

def arguments=(arguments : Array(Argument)) #

def children #

[View source]
def directives : Array(Directive) #

def directives=(directives : Array(Directive)) #

def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

def name=(name : String) #

def selections : Array(Selection) #

def selections=(selections : Array(Selection)) #