class GraphQL::Introspection::Type

Included Modules

Defined in:

graphql/introspection.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(document, definition : Language::TypeDefinition | Language::WrapperType) #

[View source]

Class Method Detail

def self.from_ast(document : Language::Document, type : Language::ASTNode) #

[View source]

Instance Method Detail

def description : String? #

[View source]
def enum_values(include_deprecated : Bool = false) : Array(GraphQL::Introspection::EnumValue)? #

ENUM only


[View source]
def fields(include_deprecated : Bool = false) : Array(GraphQL::Introspection::Field)? #

OBJECT and INTERFACE only


[View source]
def input_fields : Array(GraphQL::Introspection::InputValue)? #

INPUT_OBJECT only


[View source]
def interfaces : Array(GraphQL::Introspection::Type)? #

OBJECT only


[View source]

[View source]
def name : String? #

[View source]

NON_NULL and LIST only


[View source]
def possible_types : Array(GraphQL::Introspection::Type)? #

INTERFACE and UNION only


[View source]