Skip to content

Update part8e.md #4055

New issue

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

Open
wants to merge 1 commit into
base: source
Choose a base branch
from
Open

Update part8e.md #4055

wants to merge 1 commit into from

Conversation

eedrxs
Copy link
Contributor

@eedrxs eedrxs commented May 11, 2025

Updated graphql-ws import to match current version. Following the tutorial as it is currently, the code breaks because it cannot find the export path:

const { useServer } = require("graphql-ws/lib/use/ws")

image

I checked the graphql-ws docs and found the import path was different. Updated my code and everything works again:

const { useServer } = require("graphql-ws/use/ws")

Updated graphql-ws import to match current version
@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