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
The current implementation of the WebSocket endpoint can only handle the Apollo-WS transport, which has been deprecated. As new server libraries are moving over to the GrapQL-WS transport it would be really helpful if the WebSocket endpoint could also support the newer protocol.
What is required
The two protocols are actually very similar and supporting both is quite trivial. In order to prove it was possible I have implemented a fix in a fork of this project and used it against a new server.
Reference implementation
I've started a discussion about this, which includes all the details: #237
The single commit to implement my changes are here: artran@60a93b5
The text was updated successfully, but these errors were encountered:
Add support for the GraphQL-WS Subprotocol
Reason for request
The current implementation of the WebSocket endpoint can only handle the Apollo-WS transport, which has been deprecated. As new server libraries are moving over to the GrapQL-WS transport it would be really helpful if the WebSocket endpoint could also support the newer protocol.
What is required
The two protocols are actually very similar and supporting both is quite trivial. In order to prove it was possible I have implemented a fix in a fork of this project and used it against a new server.
Reference implementation
I've started a discussion about this, which includes all the details: #237
The single commit to implement my changes are here: artran@60a93b5
The text was updated successfully, but these errors were encountered: