Skip to content

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
@vejol vejol added this to the Part 8 - yearly check 2025 milestone Oct 12, 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