class GraphQL::Context

Defined in:

graphql/context.cr

Instance Method Summary

Instance Method Detail

def complexity : Int32 #

[View source]
def complexity=(complexity : Int32) #

[View source]
def document : Language::Document | Nil #

[View source]
def document=(document : Language::Document | Nil) #

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

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

[View source]
def handle_exception(ex : ::Exception) : String | Nil #

Return string message to be added to errors object or throw to bubble up


[View source]
def max_complexity : Int32 | Nil #

[View source]
def max_complexity=(max_complexity : Int32 | Nil) #

[View source]
def mutation_type : String | Nil #

[View source]
def mutation_type=(mutation_type : String | Nil) #

[View source]
def query_type : String #

[View source]
def query_type=(query_type : String) #

[View source]