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

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