Skip to content

Commit c367260

Browse files
committed
docs: update schema section to fix broken link
1 parent a925339 commit c367260

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/source/api/apollo-server.mdx

+6-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,12 @@ The default value is `true`, **unless** the `NODE_ENV` environment variable is s
143143

144144
An executable GraphQL schema. You usually don't need to provide this value, because Apollo Server generates it from [`typeDefs`](#typedefs) and [`resolvers`](#resolvers).
145145

146-
This field is most commonly used with [Apollo Federation](https://www.apollographql.com/docs/federation/implementing-services/#generating-a-federated-schema), which uses a special `buildFederatedSchema` function to generate its schema.
146+
This field is helpful if:
147+
148+
- You are [building a subgraph for Apollo Federation](https://www.apollographql.com/docs/federation/building-supergraphs/subgraphs-apollo-server), which uses the `buildSubgraphSchema` function to generate its schema
149+
- You are using a function like `makeExecutableSchema` from [`graphql-tools`](https://www.graphql-tools.com/docs/generate-schema) to create your schema
150+
- You are using a library that takes a code-first approach (i.e., instead of a schema-first approach) to generate a schema
151+
147152
</td>
148153
</tr>
149154

0 commit comments

Comments
 (0)