module GraphQL::Language

Defined in:

graphql/language.cr
graphql/language/ast.cr
graphql/language/generation.cr
graphql/language/nodes.cr
graphql/language/token.cr

Constant Summary

DEFAULT_MAX_DEPTH = 100

Nesting depth of selection sets, lists and input objects beyond which .parse raises. See Context#max_depth.

Class Method Summary

Macro Summary

Class Method Detail

def self.parse(query_string : String, max_depth : Int32 = DEFAULT_MAX_DEPTH) : GraphQL::Language::Document #

Parse a query string and return the Document


def self.to_argumentvalue(value : Array) : ArgumentValue #

def self.to_argumentvalue(v : NullValue) : Nil #

def self.to_argumentvalue(value) #

def self.to_fvalue(value : Array) : FValue #

def self.to_fvalue(v : NullValue) : Nil #

def self.to_fvalue(value) #

Macro Detail

macro define_array_cast(type) #