class GraphQL::Introspection::Type

Included Modules

Defined in:

graphql/introspection.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail


[View source]

Class Method Detail

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

[View source]

Instance Method Detail

def description : String | Nil #

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

ENUM only


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

OBJECT and INTERFACE only


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

INPUT_OBJECT only


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

OBJECT only


[View source]

[View source]
def name : String | Nil #

[View source]
def of_type : GraphQL::Introspection::Type | Nil #

NON_NULL and LIST only


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

INTERFACE and UNION only


[View source]