class GraphQL::Schema::Context

Overview

The Context that will be created when Schema::execute is called and provided as an argument to the field resolution callbacks on Object Types. Can be subclassed and passed manually to Schema::execute.

Defined in:

graphql-crystal/schema/schema.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

debug debug

Constructor Detail

def self.new(schema : GraphQL::Schema::Schema, max_depth = nil) #

[View source]

Instance Method Detail

def depth : Int32 #

[View source]
def depth=(depth) #

[View source]
def fragments : Array(GraphQL::Language::FragmentDefinition) #

[View source]
def fragments=(fragments) #

[View source]
def max_depth : Int32? #

[View source]
def max_depth=(max_depth) #

[View source]
def schema : GraphQL::Schema::Schema #

[View source]
def with_self(args, &block) #

[View source]