Loading...
Loading...
Compare original and translation side by side
undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedrover --version
rover config whoamirover --version
rover config whoami| Command | Description | Use Case |
|---|---|---|
| Publish subgraph schema to GraphOS | CI/CD, schema updates |
| Validate schema changes | PR checks, pre-deploy |
| Download subgraph schema | Local development |
| Compose supergraph locally | Local testing |
| Local supergraph development | Development workflow |
| Publish monograph schema | Non-federated graphs |
| 命令 | 描述 | 使用场景 |
|---|---|---|
| 将子图模式发布到GraphOS | CI/CD、模式更新 |
| 验证模式变更 | PR检查、预部署 |
| 下载子图模式 | 本地开发 |
| 本地组合超级图 | 本地测试 |
| 本地超级图开发 | 开发工作流 |
| 发布单体图模式 | 非联邦式图 |
<GRAPH_ID>@<VARIANT>my-graph@productionmy-graph@stagingmy-graph@currentexport APOLLO_GRAPH_REF=my-graph@production<GRAPH_ID>@<VARIANT>my-graph@productionmy-graph@stagingmy-graph@currentexport APOLLO_GRAPH_REF=my-graph@productionundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedsupergraph.yamlfederation_version: =2.9.0
subgraphs:
products:
routing_url: http://localhost:4001/graphql
schema:
file: ./products/schema.graphql
reviews:
routing_url: http://localhost:4002/graphql
schema:
subgraph_url: http://localhost:4002/graphqlrover supergraph compose --config supergraph.yaml > supergraph.graphqlsupergraph.yamlfederation_version: =2.9.0
subgraphs:
products:
routing_url: http://localhost:4001/graphql
schema:
file: ./products/schema.graphql
reviews:
routing_url: http://localhost:4002/graphql
schema:
subgraph_url: http://localhost:4002/graphqlrover supergraph compose --config supergraph.yaml > supergraph.graphqlrover supergraph fetch my-graph@productionrover supergraph fetch my-graph@productionrover devrover devundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedrover config authAPOLLO_KEYgraph-id@variantrover subgraph checkrover subgraph publishrover devAPOLLO_KEY--format jsonfederation_versionrover subgraph introspectrover config authAPOLLO_KEYgraph-id@variantrover subgraph checkrover subgraph publishrover devAPOLLO_KEY--format jsonfederation_versionrover subgraph introspect