the-road-to-graphql / fullstack-apollo-express-postgresql-boilerplate

💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
https://roadtoreact.com
MIT License
1.2k stars 265 forks source link

Blog missing code #61

Closed morenoh149 closed 5 years ago

morenoh149 commented 5 years ago

One of the last instructions on https://www.robinwieruch.de/graphql-apollo-server-tutorial/#graphql-server-data-loader-caching-batching says:

Remember to add the loader to your subscriptions, in case you use them there: but it just repeats the previous code. How should we add the data loader to subscriptions?

morenoh149 commented 5 years ago

never mind didn't read the code carefully.