We have trouble receiving subscription events when using an express server, but have it working fine with a fastify server. #109
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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 |
Beta Was this translation helpful? Give feedback.
-
Okay, ive noticed a few problems, solved them, now it works. The package is working fine. Thanks for the great work. |
Beta Was this translation helpful? Give feedback.
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 toexpress
. You must use theexpress
specific handler as showcased in the documentation forexpress
.