Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ A schema defines the initial root operation type for each kind of operation it
supports: query, mutation, and subscription; this determines the place in the
type system where those operations begin.

The `query` root operation type must be provided and must be an Object type.
A schema must define at least one root operation type.

The `query` root operation type must be an Object type; if it is not
explicitly provided then a default Query object type only supporting
introspection will be used.

The `mutation` root operation type is optional; if it is not provided, the
service does not support mutations. If it is provided, it must be an
Expand Down
3 changes: 2 additions & 1 deletion spec/Section 4 -- Introspection.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ __type(name: String!): __Type
```

These fields are implicit and do not appear in the fields list in the root type
of the query operation.
of the query operation. They are available even if the schema does not provide
its own root type for the query operation.

The schema of the GraphQL schema introspection system:

Expand Down