class GraphQL::Schema::Context
- GraphQL::Schema::Context
- Reference
- Object
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.crConstructors
Instance Method Summary
- #depth : Int32
- #depth=(depth)
- #fragments : Array(GraphQL::Language::FragmentDefinition)
- #fragments=(fragments)
- #max_depth : Int32?
- #max_depth=(max_depth)
- #schema : GraphQL::Schema::Schema
- #with_self(args, &block)