You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`supergraph.yaml`: Rover CLI configuration for composing subgraphs
12
+
-`supergraph.yaml`: **Rover CLI configuration** for composing multiple subgraph schemas into a unified supergraph schema
13
13
-`router.yaml`: Legacy Apollo Router configuration (kept for reference)
14
14
15
15
## Gateway Configuration
@@ -36,18 +36,27 @@ The federated graph consists of two subgraphs:
36
36
37
37
## Schema Updates
38
38
39
-
Hive Gateway loads the composed supergraph schema from `docs/manager/graphql-reference/supergraph.graphql`.
39
+
### Supergraph Composition with Rover
40
40
41
-
When subgraph schemas are modified, regenerate the supergraph using Rover (Apollo Federation CLI):
41
+
Hive Gateway loads the composed supergraph schema from `docs/manager/graphql-reference/supergraph.graphql`. This unified schema is generated by composing multiple subgraph schemas using **Rover**, the Apollo Federation CLI tool.
42
+
43
+
The `supergraph.yaml` file is the Rover configuration that defines:
44
+
-**Subgraph names**: Identifiers for each subgraph (`graphene`, `strawberry`)
45
+
-**Routing URLs**: HTTP endpoints for each subgraph service
46
+
-**Schema file locations**: Local paths to each subgraph's GraphQL schema
47
+
48
+
When subgraph schemas are modified, regenerate the supergraph using Rover:
0 commit comments