class GraphQL::Context

Defined in:

graphql/context.cr

Instance Method Summary

Instance Method Detail

def complexity : Int32 #

def complexity=(complexity : Int32) #

def document : Language::Document | Nil #

def document=(document : Language::Document | Nil) #

def fragments : Array(Language::FragmentDefinition) #

def fragments=(fragments : Array(Language::FragmentDefinition)) #

def handle_exception(ex : ::Exception) : String | Nil #

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


def max_complexity : Int32 | Nil #

def max_complexity=(max_complexity : Int32 | Nil) #

def mutation_type : String | Nil #

def mutation_type=(mutation_type : String | Nil) #

def query_type : String #

def query_type=(query_type : String) #