File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
packages/web/docs/src/content/api-reference Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -166,14 +166,21 @@ Or, multiple files using a `glob` expression:
166
166
hive schema:check " src/*.graphql"
167
167
```
168
168
169
- If you want to leverage from retaining approved breaking changes within the lifecyle of a pull/merge
170
- request or branch, you must provide the ` --contextId ` parameter. Using ` --contextId ` is optional
171
- when using GitHub repositories and actions with the ` --github ` flag.
169
+ If you want to be able to leverage breaking change approvals, you must provide the ` --contextId `
170
+ parameter. Using ` --contextId ` is optional when using GitHub repositories and actions with the
171
+ ` --github ` flag.
172
172
173
173
``` bash
174
174
hive schema:check --contextId " pr-123" " src/*.graphql"
175
175
```
176
176
177
+ For distributed schemas (Federated or Stitching), you are able to view changes to subgraph URLs by
178
+ providing the ` --url ` parameter.
179
+
180
+ ``` bash
181
+ hive schema:check " src/schema.graphql" --service users --url " https://users.graphql-hive.com/graphql"
182
+ ```
183
+
177
184
Further reading:
178
185
179
186
- [ Publishing a schema to the Schema Registry] ( /docs/schema-registry#publish-a-schema )
You can’t perform that action at this time.
0 commit comments