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

chore: clarify drawbacks of introspection publish #866

Merged
merged 1 commit into from
Oct 7, 2021
Merged
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
chore: clarify drawbacks of introspection publish
EverlastingBugstopper committed Oct 7, 2021
commit 577192065c020796f10dbe0665e6daeeb650c3f9
2 changes: 2 additions & 0 deletions docs/source/graphs.md
Original file line number Diff line number Diff line change
@@ -89,6 +89,8 @@ If your schema isn't stored in a compatible file, you can provide `-` as the val
rover graph introspect http://localhost:4000 | rover graph publish my-graph@dev --schema -
```

Whenever possible, we recommend publishing a `.graphql` file directly instead of using introspection. An introspection result omits schema comments and most uses of directives.

> For more on accepting input via `stdin`, see [Conventions](./conventions#using-stdin).

## Checking schema changes