We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: I store my PubSub instance in Graphql context variable, so when using withFilter I can't access to it and return asyncIterator instance.
PubSub
context
withFilter
asyncIterator
Possible solution: I suggest to pass all resolvers arguments into asyncIterator factory function, so then I can read PubSub instance from context.
The fix is trivial, just to change a line of code. So, if you are ok with this I will make a PR
The text was updated successfully, but these errors were encountered:
I was just running into the same thing and threw together #103 😃
Sorry, something went wrong.
Closed via https://github.com/apollographql/graphql-subscriptions/releases/tag/v0.5.1
No branches or pull requests
Issue:
I store my
PubSub
instance in Graphqlcontext
variable, so when usingwithFilter
I can't access to it and returnasyncIterator
instance.Possible solution:
I suggest to pass all resolvers arguments into
asyncIterator
factory function, so then I can readPubSub
instance fromcontext
.The fix is trivial, just to change a line of code. So, if you are ok with this I will make a PR
The text was updated successfully, but these errors were encountered: