Record: __Type

Represents a GraphQL type.

Fields

  • kind __TypeKind
  • The graphql:__TypeKind type of the type

  • name string
  • The name of the type

  • fields __Field[ ]?
  • The fields of the given type, if the type qaulifies to have fields

  • enumValues __EnumValue[ ]?
  • The possible set of values, if the type is an enum

  • ofType __Type?
  • If the type is a NON_NULL or a LIST, the __Type of the wrapped type

  • possibleTypes __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