class GraphQL::Language::SchemaDefinition

Defined in:

graphql/language/nodes.cr

Constructors

Instance Method Summary

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(query : String, mutation : Nil | String, subscription : Nil | String, 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 directives : Array(Directive) #

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

def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def mutation : Union(String, Nil) #

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

def query : String #

def query=(query : String) #

def subscription : Union(String, Nil) #

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