Open nareshbhatia opened 5 years ago
When was the last time you checked if this was still an issue?
@nareshbhatia up
Don't think there is an update from Apollo on this issue. See the comments on their roadmap, e.g. https://github.com/apollographql/apollo-server/issues/2360#issuecomment-641697135
Book creation results in an exception on the server:
The underlying reason is that
dataSources
are not passed to resolvers during pubsub.publish()Related issues:
For now, I have worked around this issue by creating a global instance of
dataSources
instead of passing it via context.