Interface
Interfaces are an abstract type where there are common fields declared. Any type that implements an interface must define all the fields with names and types exactly matching. The implementations of this interface are explicitly listed out inpossibleTypes
.
Fields
kind
must return__TypeKind.INTERFACE
.name
must return a String.description
may return a String or null .fields
: The set of fields required by this interface.- Accepts the argument
includeDeprecated
which defaults to false . If true , deprecated fields are also returned.
- Accepts the argument
possibleTypes
returns the list of types that implement this interface. They must be object types.- All other fields must return null .