Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a note about omitting introspection type definitions #1036

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
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: 6 additions & 0 deletions spec/Section 4 -- Introspection.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ enum __DirectiveLocation {
}
```

When representing a GraphQL schema using the type system definition language the
_introspection type system definitions_ may be omitted for brevity.

When introspecting a GraphQL service all provided _introspection type system
definitions_, must be included in the set of returned directives.
martinbonnin marked this conversation as resolved.
Show resolved Hide resolved

### The \_\_Schema Type

The `__Schema` type is returned from the `__schema` meta-field and provides all
Expand Down