OBJECT

__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.

link GraphQL Schema definition

1 type __Schema {
2
3 # A list of all types supported by this server.
4 types: [__Type!]!
5
6 # The type that query operations will be rooted at.
7 queryType: __Type!
8
9 # If this server supports mutation, the type that mutation operations will be
10 # rooted at.
11 mutationType: __Type
12
13 # If this server support subscription, the type that subscription operations will
14 # be rooted at.
15 subscriptionType: __Type
16
17 # A list of all directives supported by this server.
18 directives: [__Directive!]!
19
20 }

link Required by

This element is not required by anyone