-
Notifications
You must be signed in to change notification settings - Fork 325
Support graphql-ws #812
Comments
I've notice, that subscriptions are broken since 12.0.0 version. For version 11.0.0 all is good |
Do you have In gradle it would be:
|
Thanks for quick response. This fixes second notice. But apollo client, based on graphql-ws still not working. |
There should be some documentation on the Apollo repo on how to migrate from subscriptions-transport-ws to graphql-ws. The underlying protocol should still be the same, it's just a matter of how to set it up on the client side that's changed. Support for that is out of scope of this project. |
The underlying protocol is not the same i think, mainly because GraphQL did not define it in any spec (see here: https://www.apollographql.com/docs/react/data/subscriptions/#choosing-a-subscription-library). |
Hi.
I tried to use this library with JS client. All tutorials about it said, that need use "graphql-ws" library for subscriptions. But all worked examples of servers with this library used "subscriptions-transport-ws".
NPM install for this JS-library says
So I have question - I there is a way to switch library WebSocket support to graphql-ws either - do you have plan to support it?
I've added my client. To checking it on your own project, you can change parts of code under //TODO
dist.zip
Best regards. Alexey
The text was updated successfully, but these errors were encountered: