Skip to content

Commit 7bd2912

Browse files
authored
docs: document limit and disable-resolvability-validation in subgraph check and publish (wundergraph#2674)
1 parent 3806e20 commit 7bd2912

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs-website/cli/subgraph/check.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,12 @@ The `npx wgc subgraph check` command checks for breaking changes and composition
6161

6262
* `-o, --out [string]`: Writes the JSON check result to a destination file. This option enables JSON output automatically.
6363

64-
* `--suppress-warnings`: This flag suppresses any warnings produced by composition.
65-
6664
* `--label [labels...]`: The labels to apply to the new subgraph. The labels are passed in the format `<key>=<value> <key>=<value>`. This parameter is always ignored if the subgraph already exists.
6765

66+
* `--disable-resolvability-validation`: This flag disables the validation for whether all nodes of the federated graph are resolvable. Do not use unless troubleshooting.
67+
68+
* `-l, --limit [number]`: The maximum number of entries to display for each category of results, such as schema changes, composed schema breaking changes, composition errors, composition warnings, lint issues, and graph pruning issues. Defaults to `50`.
69+
6870
<Info>
6971
The check command requires either the `--schema` or `--delete` parameter.
7072
</Info>

docs-website/cli/subgraph/publish.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ A previously created [Event-Driven Graph (EDG)](/federation/event-driven-federat
9999

100100
* `--suppress-warnings`: This flag suppresses any warnings produced by composition.
101101

102+
* `--disable-resolvability-validation`: This flag disables the validation for whether all nodes of the federated graph are resolvable. Do not use unless troubleshooting.
103+
104+
* `-l, --limit <number>`: The maximum number of entries to display for each category of results, such as composition errors, composition warnings, and deployment errors. Defaults to `50`.
105+
102106
## **Example**
103107

104108
### Publish a schema to an existing subgraph.

0 commit comments

Comments
 (0)