class GraphQL::Schema

Defined in:

graphql/schema.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(query : QueryType, mutation : MutationType | Nil = nil) #

[View source]

Instance Method Detail

def document : Language::Document #

[View source]
def execute(query : String, variables : Hash(String, JSON::Any) | Nil = nil, operation_name : String | Nil = nil, context = Context.new) : String #

[View source]
def execute(io : IO, query : String, variables : Hash(String, JSON::Any) | Nil = nil, operation_name : String | Nil = nil, context = Context.new) : Nil #

[View source]