TypeError: pub_sub_1.pubSub.asyncIterator is not a function
See original GitHub issueHi,
graphql-subscriptions has been released with version 0.4.0
, and graphql-redis-subscriptions does not work, because breaking changes.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:14 (10 by maintainers)
Top Results From Across the Web
pubsub.asyncIterator is not a function · Issue #3 - GitHub
I'm trying to use your library as a replacement for the @fmannhardt/graphql-kafka-subscriptions library which has a dependency on node-rdkafka.
Read more >Subscriptions in Apollo Server - Apollo GraphQL Docs
The subscribe function must return an object of type AsyncIterator , a standard interface for iterating over asynchronous results. In the above postCreated....
Read more >Apollo server subscription not recognizing Async Iterable
This is what a subscription resolver expects to be returned. const iterator = pubsub.asyncIterator(topic); // Wrap the publish function on ...
Read more >How to use the apollo-server-express.PubSub function ... - Snyk
To help you get started, we've selected a few apollo-server-express.PubSub examples, based on popular ways it is used in public projects.
Read more >GraphQL Subscriptions with Apollo Server and Client
If you have an understanding of GraphQL, there's not much new to learn, ... import { PubSub } from 'apollo-server'; const pubsub =...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s a good point! This implementation is basically already generic so it should be able to apply to any PubSubEngine. I’m dealing with a few bugs, and the tests are written now. Once I fix all that I’ll push and submit a PR.
Hey @akaNightmare @ArnaudRinquin, Sorry to keep you waiting but I will be able to work on the API only next week. I’ll happily review and merge any of your PR’s so if you know what to do, go for it!
Thanks for using this project and I hope there is no resentment 😃