class GraphQL::Introspection::Type
- GraphQL::Introspection::Type
- Reference
- Object
Included Modules
Defined in:
graphql/introspection.crConstructors
Class Method Summary
Instance Method Summary
- #description : String | Nil
-
#enum_values(include_deprecated : Bool = false) : Array(GraphQL::Introspection::EnumValue) | Nil
ENUM only
-
#fields(include_deprecated : Bool = false) : Array(GraphQL::Introspection::Field) | Nil
OBJECT and INTERFACE only
-
#input_fields : Array(GraphQL::Introspection::InputValue) | Nil
INPUT_OBJECT only
-
#interfaces : Array(GraphQL::Introspection::Type) | Nil
OBJECT only
- #kind : GraphQL::Introspection::TypeKind
- #name : String | Nil
-
#of_type : GraphQL::Introspection::Type | Nil
NON_NULL and LIST only
-
#possible_types : Array(GraphQL::Introspection::Type) | Nil
INTERFACE and UNION only
Constructor Detail
def self.new(document : GraphQL::Language::Document, definition : Language::TypeDefinition | Language::WrapperType)
#
Class Method Detail
Instance Method Detail
def enum_values(include_deprecated : Bool = false) : Array(GraphQL::Introspection::EnumValue) | Nil
#
ENUM only
OBJECT and INTERFACE only