You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 31, 2019. It is now read-only.
The newApolloServer function in server/apolloServer.js accepts several configuration arguments and uses them to instantiate a new Apollo Server instance. A lot of these configuration items originate in server/config/index.js but if you take the following lines, There are lots of things being remapped which could have been defined correctly in server/config.js in the first place.
To Do
Simplify the configuration such that the newApolloServer function is more concise This can be achieved by moving things like the playground config back into server/config/index.js
If possible reduce the arity (number of args) of the newApolloServer function and update any place where it's used.
The text was updated successfully, but these errors were encountered:
Description
The
newApolloServer
function inserver/apolloServer.js
accepts several configuration arguments and uses them to instantiate a new Apollo Server instance. A lot of these configuration items originate inserver/config/index.js
but if you take the following lines, There are lots of things being remapped which could have been defined correctly inserver/config.js
in the first place.To Do
newApolloServer
function is more concise This can be achieved by moving things like the playground config back intoserver/config/index.js
newApolloServer
function and update any place where it's used.The text was updated successfully, but these errors were encountered: