Skip to content

Commit

Permalink
docs: update schema section to fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
glasser committed Oct 7, 2022
1 parent a925339 commit c367260
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/source/api/apollo-server.mdx
Expand Up @@ -143,7 +143,12 @@ The default value is `true`, **unless** the `NODE_ENV` environment variable is s

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

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.
This field is helpful if:

- 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
- You are using a function like `makeExecutableSchema` from [`graphql-tools`](https://www.graphql-tools.com/docs/generate-schema) to create your schema
- You are using a library that takes a code-first approach (i.e., instead of a schema-first approach) to generate a schema

</td>
</tr>

Expand Down

0 comments on commit c367260

Please sign in to comment.