Skip to content

Conversation

eedrxs
Copy link
Contributor

@eedrxs eedrxs commented May 11, 2025

Update use of pubsub.asyncIterator to pubsub.asyncIterableIterator.

Following the tutorial as it is currently, you get this error when you try to listen for subscriptions:

image

The current code makes use of pubsub.asyncIterator, but this method no longer exists and has been changed to pubsub.asyncIterableIterator in the latest graphql-subscriptions version. Updating the code with this makes everything work fine:

image

Update use of pubsub.asyncIterator to pubsub.asyncIterableIterator.
@vejol vejol added the part 8 label May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants