Skip to content

We have trouble receiving subscription events when using an express server, but have it working fine with a fastify server. #109

Closed Answered by enisdenjo
DevRichter asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, that's very weird. graphql-sse has thorough tests for each of the frameworks' integrations (see here), the backbone of all them tests is a functioning handler and they all pass. 🤔

I'd be willing to take a look if you can create me a repro or a thorough replication steps. Sorry for the inconvenience, I hope we solve this soon!

About your EDIT, you cant use the createHandler directly from the root because it's server agnostic and it does not adapt to express. You must use the express specific handler as showcased in the documentation for express.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by enisdenjo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants