class GraphQL::Language::ObjectTypeDefinition

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

Constructor Detail

def self.new(interfaces, fields, 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 fields : Array(FieldDefinition) #

def fields=(fields : Array(FieldDefinition)) #

def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def interfaces : Array(String) #

def interfaces=(interfaces : Array(String)) #