diff --git a/docs/source/api/apollo-server.mdx b/docs/source/api/apollo-server.mdx index f46062c2a9c..560d7cb76bb 100644 --- a/docs/source/api/apollo-server.mdx +++ b/docs/source/api/apollo-server.mdx @@ -41,20 +41,16 @@ const server = new ApolloServer({ **Schema options** - + -##### `typeDefs` +##### `httpFetch` -`DocumentNode` or `Array` +`fetch` implementation - -Document or documents that represent your server's GraphQL schema, generated by applying the `gql` tag to valid Schema Definition Language (SDL) strings. - -**Required** unless you provide [`schema`](#schema). - -For an example, see [Define your GraphQL schema](../getting-started/#step-3-define-your-graphql-schema). +**Optional** +Provide a custom `fetch` implementation to be used when making REST calls.