class GraphQL::Language::UnionTypeDefinition

Defined in:

graphql/language/nodes.cr

Constructors

Instance Method Summary

Instance methods inherited from class GraphQL::Language::TypeDefinition

==(other : self) ==, description : Union(String, Nil) description, description=(description : Union(String, Nil)) description=, hash(hasher) hash, name : String name, name=(name : String) name=

Constructor methods inherited from class GraphQL::Language::TypeDefinition

new(name : String, description : Nil | String, **rest) new

Instance methods inherited from class GraphQL::Language::ASTNode

children children, visit(block : ASTNode -> _) visit

Macros inherited from class GraphQL::Language::ASTNode

values(args) values

Constructor Detail

def self.new(types, directives, **rest) #

Instance Method Detail

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

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


def children #

def directives : Array(Directive) #

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

def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def types : Array(TypeName) #

def types=(types : Array(TypeName)) #