Representation of a GraphQL schema
A Schema
is a collection of type and directive declarations.
- Companion
- object
Value members
Concrete methods
The default type of a GraphQL schema
The default type of a GraphQL schema
Unless a type named "Schema"
is explicitly defined as part of
this Schema
a definition of the form,
type Schema {
query: Query!
mutation: Mutation
subscription: Subscription
}
is used.
Look up by name a type defined in this Schema
.
Look up by name a type defined in this Schema
.
Yields the type, if defined, None
otherwise.
A reference by name to a type defined by this Schema
.
A reference by name to a type defined by this Schema
.
TypeRef
s refer to types defined in this schema by name and hence
can be used as part of mutually recursive type definitions.
The schema type.
The schema type.
Either the explicitly defined type named "Schema"
or the default
schema type if not defined.