class GraphQL::Schema

Defined in:

graphql/schema.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def document : Language::Document #

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

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