graphql-subscriptions
graphql-subscriptions copied to clipboard
:newspaper: A small module that implements GraphQL subscriptions for Node.js
Hi and thanks for this package, Node's EventEmitters allows symbols as event names, it would be nice to be able to use them here as well. The problematic line is...
you can use a (promise-boolean)-returning function as your filter-function in withFilter. considering a promise-boolean, the returned value can be three things: 1. resolved to True 2. resolved to False 3....
has any thought been put into using graphql subscriptions for server-to-server communication usually done on queues? Iād really like to do something like that in our app, but the current...
Old Example ``` const SOMETHING_CHANGED_TOPIC = "something_changed" export const resolvers = { Subscription: { somethingChanged: { subscribe: () => pubsub.asyncIterator(SOMETHING_CHANGED_TOPIC), }, }, } ``` Replace it with: ``` export const...
Right now a lot of the tests don't really await promises that they send off; it's better to return promises to mocha, as described in https://wietse.loves.engineering/testing-promises-with-mocha-90df8b7d2e35 This already caused 1...
Welcome to [Renovate](https://redirect.github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. š¦ Renovate will begin keeping your dependencies up-to-date only once...
I am trying to make a version of the pubsub async iterator that throws an error if the pushQueue goes over a certain size. Right now it is difficult to...
Control the payload type when calling `publish.publish()` **Pull Request Labels** - [ ] has-reproduction - [ ] feature - [ ] blocking - [x] good first review
I tried to make the **subscription update course** in the nest js, but it turns out error **Object is possibly 'undefined**' in this line of code `const course = await...
I am exploring this library and trying to understand more about graphql spec level. When the server calls `publish`, I can see it just pass the payload to subscribers via...