docs: Remove suggestion that server is required for applyMiddleware.

The `server` attribute is neither required nor actually a valid property at all.

Closes #1413.
This commit is contained in:
Jesse Rosenberger 2019-02-20 20:41:04 +02:00 committed by GitHub
parent e1d7078817
commit f6cdc94f29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,10 +159,6 @@ The `applyMiddleware` method is provided by the `apollo-server-{integration}` pa
Pass an instance of the server integration here.
* `server`: <`ApolloServer`> _(required)_
Pass the instance of Apollo Server
* `path` : <`String`>
Specify a custom path. It defaults to `/graphql` if no path is specified.