You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with switching from Apollo Express to Fastify and Mercurius.
I discovered something a bit weird. If I enable keepAlive in graphql-ws, it will send messages that look like {"type": "ping"} but it seems that something on the Mercurius side is not processing them correctly.
On the other hand, If I enable keepAlive in Mercurius, it sends messages like {type: "ka"}:
graphql-ws completely crashes on these messages and breaks the subscription:
My understanding is that Mercurius uses graphql-ws, so what's the deal here? 🙂
The text was updated successfully, but these errors were encountered:
I'm experimenting with switching from Apollo Express to Fastify and Mercurius.
I discovered something a bit weird. If I enable
keepAlive
ingraphql-ws
, it will send messages that look like{"type": "ping"}
but it seems that something on the Mercurius side is not processing them correctly.On the other hand, If I enable
keepAlive
in Mercurius, it sends messages like{type: "ka"}
:graphql-ws
completely crashes on these messages and breaks the subscription:My understanding is that Mercurius uses
graphql-ws
, so what's the deal here? 🙂The text was updated successfully, but these errors were encountered: