From 23d28c109ddaf744a259598fc391572426015637 Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Wed, 2 Oct 2024 14:31:46 -0600 Subject: [PATCH 1/9] Remove Gatsby Links --- docs/source/index.mdx | 6 ++---- docs/source/testing/graphql-playground.mdx | 9 +++------ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docs/source/index.mdx b/docs/source/index.mdx index 1f620056e9a..f03b9b6dec2 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -21,10 +21,8 @@ title: Introduction to Apollo Server #### Ready to try it out? -import {Link} from 'gatsby'; -
- +
diff --git a/docs/source/testing/graphql-playground.mdx b/docs/source/testing/graphql-playground.mdx index 85bba606ed5..f1332f2c444 100644 --- a/docs/source/testing/graphql-playground.mdx +++ b/docs/source/testing/graphql-playground.mdx @@ -3,8 +3,6 @@ title: GraphQL Playground description: Visually explore Apollo Server --- -import { Link } from 'gatsby'; -
#### 📣 Query your server with Apollo Sandbox @@ -12,15 +10,14 @@ import { Link } from 'gatsby'; **Apollo Sandbox** provides a special instance of our Explorer IDE that you can use for local development without an Apollo account.

- +

Sandbox automatically attempts to connect to a GraphQL server running at `http://localhost:4000`. Use the box in the top-left to change this URL to any local or remote GraphQL endpoint that's reachable by your browser. From 5abe0333a6da488b2472210ee0d439eb204cacdb Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Wed, 2 Oct 2024 14:33:21 -0600 Subject: [PATCH 2/9] Update link --- docs/source/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.mdx b/docs/source/index.mdx index f03b9b6dec2..ca014aecbe9 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -22,7 +22,7 @@ title: Introduction to Apollo Server #### Ready to try it out?
- + Get started!
From 6ad06a93491888720dcf755090c237a40c48bff2 Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Wed, 2 Oct 2024 14:35:07 -0600 Subject: [PATCH 3/9] Fix image path --- docs/source/deployment/netlify.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/deployment/netlify.md b/docs/source/deployment/netlify.md index 66992eedba3..fcaf4933cb3 100644 --- a/docs/source/deployment/netlify.md +++ b/docs/source/deployment/netlify.md @@ -91,7 +91,7 @@ Now, make sure you've run `NODE_ENV=development npm run start:lambda`, and navig *Note - The GraphQL Playground will only run if your `NODE_ENV` is set to `development`. If you don't pass this, or your `NODE_ENV` is set to `production`, you will not see the GraphQL Playground.* -![Local GraphQL Server](../images/graphql.png) +![Local GraphQL Server](../images/graphql-playground.png) If you can see GraphQL Playground and run a simple query, you've done everything properly. Now, let's add Apollo Client to the frontend. From 11d8634df45846165e27092011851e19ad3d2ca1 Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Wed, 2 Oct 2024 15:26:16 -0600 Subject: [PATCH 4/9] Remove image --- docs/source/testing/graphql-playground.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/source/testing/graphql-playground.mdx b/docs/source/testing/graphql-playground.mdx index f1332f2c444..d44c098a414 100644 --- a/docs/source/testing/graphql-playground.mdx +++ b/docs/source/testing/graphql-playground.mdx @@ -36,8 +36,6 @@ Sandbox automatically attempts to connect to a GraphQL server running at `http:/ In development, Apollo Server enables GraphQL Playground on the same URL as the GraphQL server itself (e.g. `http://localhost:4000/graphql`) and automatically serves the GUI to web browsers. When `NODE_ENV` is set to `production`, GraphQL Playground (as well as introspection) is disabled as a production best-practice. -![GraphQL Playground](../images/graphql-playground.png) - ## Configuring Playground The Apollo Server constructor contains the ability to configure GraphQL Playground with the `playground` configuration option. The options can be found on GraphQL Playground's [documentation](https://github.com/prismagraphql/graphql-playground/#usage). From a29f0efbcd194250481f57f5f2e0f0edfd2d492f Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Wed, 2 Oct 2024 15:54:24 -0600 Subject: [PATCH 5/9] Remove isExternal --- docs/source/testing/graphql-playground.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/testing/graphql-playground.mdx b/docs/source/testing/graphql-playground.mdx index d44c098a414..65cf1afdb48 100644 --- a/docs/source/testing/graphql-playground.mdx +++ b/docs/source/testing/graphql-playground.mdx @@ -14,7 +14,6 @@ description: Visually explore Apollo Server size="lg" colorScheme="indigo" href="https://studio.apollographql.com/sandbox/?referrer=docs-content" - isExternal > Launch Sandbox From afe025911fcfa4674f0e5e0b9badde0480572c64 Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Wed, 2 Oct 2024 16:03:53 -0600 Subject: [PATCH 6/9] Update style --- docs/source/testing/graphql-playground.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/testing/graphql-playground.mdx b/docs/source/testing/graphql-playground.mdx index 65cf1afdb48..6484cc4b1f7 100644 --- a/docs/source/testing/graphql-playground.mdx +++ b/docs/source/testing/graphql-playground.mdx @@ -9,11 +9,14 @@ description: Visually explore Apollo Server **Apollo Sandbox** provides a special instance of our Explorer IDE that you can use for local development without an Apollo account. -

+

Launch Sandbox From cb9df76c3aaaaadcb8752f3c212b5fc35ff16093 Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Wed, 2 Oct 2024 17:12:30 -0600 Subject: [PATCH 7/9] Fix relative link --- docs/source/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.mdx b/docs/source/index.mdx index ca014aecbe9..b2db319e61d 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -9,7 +9,7 @@ title: Introduction to Apollo Server #### You can use Apollo Server as: * A stand-alone GraphQL server, including in a serverless environment -* An add-on to your application's existing [Node.js middleware](./integrations/middleware/) (such as Express or Fastify) +* An add-on to your application's existing [Node.js middleware](/apollo-server/v2/integrations/middleware/) (such as Express or Fastify) * A gateway for a [federated data graph](https://www.apollographql.com/docs/federation/) #### Apollo Server provides: From 6b4e65f2da27909cd14fe340347f2c200b2e214f Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Tue, 15 Oct 2024 15:28:25 -0600 Subject: [PATCH 8/9] Remove unnecessary blockquote --- docs/source/testing/graphql-playground.mdx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/source/testing/graphql-playground.mdx b/docs/source/testing/graphql-playground.mdx index 6484cc4b1f7..e1b1146c151 100644 --- a/docs/source/testing/graphql-playground.mdx +++ b/docs/source/testing/graphql-playground.mdx @@ -3,8 +3,6 @@ title: GraphQL Playground description: Visually explore Apollo Server --- -

- #### 📣 Query your server with Apollo Sandbox **Apollo Sandbox** provides a special instance of our Explorer IDE that you can use for local development without an Apollo account. @@ -26,8 +24,6 @@ Sandbox automatically attempts to connect to a GraphQL server running at `http:/ [Learn more about Sandbox.](/graphos/explorer/sandbox) -
- ## About GraphQL Playground > ⚠️ **Apollo Server 2's GraphQL playground feature is officially end-of-life as of 31 December 2022 and will no longer receive updates of any kind.** From c6ba6ae6696d4dac57dfa17446e2478f737c1576 Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Tue, 15 Oct 2024 15:48:19 -0600 Subject: [PATCH 9/9] Fix spacing --- docs/source/testing/graphql-playground.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/testing/graphql-playground.mdx b/docs/source/testing/graphql-playground.mdx index e1b1146c151..c3e2f68013f 100644 --- a/docs/source/testing/graphql-playground.mdx +++ b/docs/source/testing/graphql-playground.mdx @@ -14,7 +14,6 @@ description: Visually explore Apollo Server size="lg" colorScheme="indigo" href="https://studio.apollographql.com/sandbox/?referrer=docs-content" - > Launch Sandbox