How to use graphql-ws
protocol?
#519
-
I see in the code that the protocol is hard coded to "graphql-transport-ws". We use a GraphQL server that is setup with "graphql-ws". Is there any way to configure the library to allow the deprecated protocol? Referring also to this line: Line 643 in b347757
It doesn't seem like it's able to be configured from our side 😅 Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry to disappoint; but this library is not, and will never be, backwards compatible with the deprecated "graphql-ws" protocol from You must upgrade the server to use this library too. If your server is in JavaScript, that shouldn't be a big deal! Happy to help. |
Beta Was this translation helpful? Give feedback.
Sorry to disappoint; but this library is not, and will never be, backwards compatible with the deprecated "graphql-ws" protocol from
subscriptions-transport-ws
. Also stated in readme's disclamer.You must upgrade the server to use this library too. If your server is in JavaScript, that shouldn't be a big deal! Happy to help.