Union
Unions are an abstract type where no common fields are declared. The possible types of a union are explicitly listed out inpossibleTypes
. Types can be made parts of unions without modification of that type.
Fields
kind
must return__TypeKind.UNION
.name
must return a String.description
may return a String or null .possibleTypes
returns the list of types that can be represented within this union. They must be object types.- All other fields must return null .