Record: __Type
Represents a GraphQL type.
Fields
- kind __TypeKind
- name string
- fields __Field[ ]?
- enumValues __EnumValue[ ]?
- ofType __Type?
- possibleTypes __Type[ ]?
The graphql:__TypeKind
type of the type
The name of the type
The fields of the given type, if the type qaulifies to have fields
The possible set of values, if the type is an enum
If the type is a NON_NULL
or a LIST
, the __Type
of the wrapped type
The list of types that can be represented from this type. Only applies for the Union types, and the the list can only contain object types