From f6c2991f9b669baa985e5efcc3b01f3a5abd4c2e Mon Sep 17 00:00:00 2001 From: David Glasser Date: Fri, 7 Oct 2022 12:07:38 -0700 Subject: [PATCH] docs: fix federation link and text --- docs/source/api/apollo-server.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/api/apollo-server.mdx b/docs/source/api/apollo-server.mdx index e243d6d87e7..827f28cb150 100644 --- a/docs/source/api/apollo-server.mdx +++ b/docs/source/api/apollo-server.mdx @@ -97,11 +97,11 @@ For details, see [Resolvers](../data/resolvers/). An executable GraphQL schema. Under the hood, Apollo Server automatically generates this field from [`typeDefs`](#typedefs) and [`resolvers`](#resolvers). -This field is helpful if you are using: +This field is helpful if: -- [Apollo Federation](https://www.apollographql.com/docs/federation/implementing-services/#generating-a-federated-schema), which uses the `buildFederatedSchema` function to generate its schema -- A function like `makeExecutableSchema` from [`graphql-tools`](https://www.graphql-tools.com/docs/generate-schema) to create your schema -- A code-first approach (i.e., instead of a schema-first approach) +- 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