Object GitHub::__Type

The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the __TypeKind enum.

Depending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.

Fields

description: String

enumValues(includeDeprecated: Boolean = false): [__EnumValue!]

fields(includeDeprecated: Boolean = false): [__Field!]

inputFields: [__InputValue!]

interfaces: [__Type!]

kind: __TypeKind!

name: String

ofType: __Type

possibleTypes: [__Type!]

Uses

__Field.type

__InputValue.type

__Schema.mutationType

__Schema.queryType

__Schema.subscriptionType

__Schema.types

__Type.interfaces

__Type.ofType

__Type.possibleTypes