-
Suppose I want to send a custom message to the server and receive a custom message back without going through GraphQL queries / mutations / subscriptions -> resolvers , is that possible? The use case is I have a game that is mostly asynchronous and uses GraphQL queries / mutations and subscriptions, but we are thinking about adding some realtime features and want to re-use the existing graphql-ws socket for the communication but use a custom message protocol. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No. Invalid messages result in immediate connection termination. I recommend reserving a separate WS connection for any non-GraphQL activities. |
Beta Was this translation helpful? Give feedback.
No. Invalid messages result in immediate connection termination.
I recommend reserving a separate WS connection for any non-GraphQL activities.