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

Constructor Detail

def self.new(query : String, mutation : Nil | String, subscription : Nil | String, **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 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)) #