Skip to content

Commit 46fb898

Browse files
authored
Merge pull request #7906 from apollographql/docs/update-links
docs: update links
2 parents cad9ef1 + 83c56ab commit 46fb898

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/source/using-federation/api/apollo-gateway.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const gateway = new ApolloGateway({
125125

126126
You provide your supergraph schema to the gateway with this option. You can provide it as a `string`, via a `SupergraphSdlHook`, or via a `SupergraphManager`.
127127

128-
**When `supergraphSdl` is a `string`:** A [supergraph schema](/federation/federated-types/overview/#supergraph-schema) ([generated with the Rover CLI](/rover/commands/supergraphs/#composing-a-supergraph-schema)) that's composed from your subgraph schemas. The supergraph schema includes directives that specify routing information for each subgraph.
128+
**When `supergraphSdl` is a `string`:** A [supergraph schema](/federation/federated-schemas/#supergraph-schema) ([generated with the Rover CLI](/rover/commands/supergraphs/#composing-a-supergraph-schema)) that's composed from your subgraph schemas. The supergraph schema includes directives that specify routing information for each subgraph.
129129

130130
**When `supergraphSdl` is a `SupergraphSdlHook`:** This is an `async` function that returns an object containing a `supergraphSdl` string as well as a `cleanup` function. The hook accepts an object containing the following properties:
131131

docs/source/using-federation/apollo-gateway-setup.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ console.log(`🚀 Server ready at ${url}`);
6161

6262
### Composing the supergraph schema
6363

64-
In the above example, we provide the `supergraphSdl` option to the `ApolloGateway` constructor. This is the string representation of our [supergraph schema](/federation/federated-types/overview/#supergraph-schema), which is composed from all of our subgraph schemas.
64+
In the above example, we provide the `supergraphSdl` option to the `ApolloGateway` constructor. This is the string representation of our [supergraph schema](/federation/federated-schemas/#supergraph-schema), which is composed from all of our subgraph schemas.
6565

66-
To learn how to compose your supergraph schema, see [Supported methods](/federation/federated-types/composition/#supported-methods).
66+
To learn how to compose your supergraph schema, see [Supported methods](/federation/federated-schemas/composition/#supported-methods).
6767

6868
> In production, we strongly recommend running the gateway in a **managed mode** with Apollo Studio, which enables your gateway to update its configuration without a restart. For details, see [Setting up managed federation](/federation/managed-federation/setup/).
6969
@@ -428,7 +428,7 @@ type ExampleType {
428428
}
429429
```
430430

431-
The gateway strips all definitions _and_ uses of type system directives from your graph's [API schema](/federation/federated-types/overview/#api-schema). This has no effect on your subgraph schemas, which retain this information.
431+
The gateway strips all definitions _and_ uses of type system directives from your graph's [API schema](/federation/federated-schemas/#api-schema). This has no effect on your subgraph schemas, which retain this information.
432432

433433
Effectively, the gateway supports type system directives by _ignoring_ them, making them the responsibility of the subgraphs that define them.
434434

docs/source/using-federation/apollo-subgraph-setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const typeDefs = gql`
107107

108108
This definition enables the schema to use Federation 2 features. Without it, Federation 2 composition assumes that a subgraph is using Federation 1, which sets certain defaults for backward compatibility.
109109

110-
> As you begin using more [federation-specific directives](/federation/federated-types/federated-directives) beyond `@key` and `@shareable`, you'll need to add those directives to the `import` array shown above.
110+
> As you begin using more [federation-specific directives](/federation/federated-schemas/federated-directives) beyond `@key` and `@shareable`, you'll need to add those directives to the `import` array shown above.
111111
112112
### 3. Define an entity
113113

0 commit comments

Comments
 (0)