mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
Typo in doc "Migrating to v2.0" (#1538)
This commit is contained in:
parent
a88574d731
commit
25f568b391
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ Check out the following changes for Apollo Server 2.0.
|
|||
* You no longer need to import `body-parser` to set up `apollo-server-express`.
|
||||
* You no longer need to import `makeExecutableSchema` from `graphql-tools`.
|
||||
* You no longer need to import `graphqlExpress` and `graphiqlExpress` from `apollo-server-express`.
|
||||
* You should pass in `typeDefs` and resolvers as parameters to an instance of Apollo Server.
|
||||
* You should pass in `typeDefs` and `resolvers` as parameters to an instance of Apollo Server.
|
||||
* If the server is only functioning as a GraphQL server, it's no longer necessary to run your own HTTP server (like `express`).
|
||||
|
||||
<h2 id="Middleware">Middleware</h2>
|
||||
|
|
Loading…
Add table
Reference in a new issue