Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
GraphQL::Context
Inherits
Reference
<
Object
Instance methods
complexity
Source
complexity=
(complexity :
Int32
)
Source
document
Source
document=
(document :
Language::Document
|
Nil
)
Source
fragments
Source
fragments=
(fragments :
Array
(
Language::FragmentDefinition
))
Source
handle_exception
(ex : ::
Exception
) :
String
|
Nil
Return string message to be added to errors object or throw to bubble up
Source
max_complexity
Source
max_complexity=
(max_complexity :
Int32
|
Nil
)
Source
mutation_type
Source
mutation_type=
(mutation_type :
String
|
Nil
)
Source
query_type
Source
query_type=
(query_type :
String
)
Source