Skip to content

Commit

Permalink
One more editing pass for the AS4 migration guide (#6751)
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor Scheer <trevor.scheer@gmail.com>
Co-authored-by: Stephen Barlow <stephen@apollographql.com>
  • Loading branch information
3 people authored Aug 5, 2022
1 parent 7891719 commit f87d67a
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 146 deletions.
4 changes: 1 addition & 3 deletions docs/source/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ Setting your project's [`type` to `module`](https://nodejs.org/api/packages.html

## Step 3: Define your GraphQL schema

> The code blocks below use TypeScript by default. You can use the dropdown menu above each code block to switch to JavaScript.
>
>If you're using JavaScript, use the `.js` file extension instead of the `.ts` file extension.
<Disclaimer />

Every GraphQL server (including Apollo Server) uses a **schema** to define the structure of data that clients can query. In this example, we'll create a server for querying a collection of books by title and author.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ title: Apollo Server 4 (Alpha)
* The gateway for a [federated supergraph](/federation/)
* The GraphQL server for a [subgraph](/federation/subgraphs) in a federated supergraph
<!-- TODO(AS4): replace links to new articles once they exist -->
* A [stand-alone GraphQL server](./migration#migrating-from-apollo-server)
* A [stand-alone GraphQL server](./migration#migrate-from-apollo-server)
* An add-on to your application's existing Node.js middleware (such as Express, AWS Lambda, or Fastify)

#### Apollo Server provides:
Expand Down
Loading

0 comments on commit f87d67a

Please sign in to comment.