class GraphQL::Context

Defined in:

graphql/context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(max_complexity : Int32 | Nil = nil) #

[View source]

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 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]