GraphQL Schema Reference
__Schema ¶
A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.
GraphQL Schema definition ¶
- type __Schema {
- # A list of all types supported by this server.
- __Type!]! : [
- # The type that query operations will be rooted at.
- __Type! :
- # If this server supports mutation, the type that mutation operations will be
- # rooted at.
- __Type :
- # If this server support subscription, the type that subscription operations will
- # be rooted at.
- __Type :
- # A list of all directives supported by this server.
- __Directive!]! : [
- }
Require by ¶
This element is not required by anyone