rescript-apollo-client icon indicating copy to clipboard operation
rescript-apollo-client copied to clipboard

subscriptions-transport-ws has been deprecated

Open illusionalsagacity opened this issue 2 years ago • 2 comments

https://github.com/apollographql/subscriptions-transport-ws/blob/master/CHANGELOG.md

As of @apollo/[email protected] GraphQLWsLink has been added to @apollo/client/link/subscriptions to replace it.

https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md#improvements-3

Would require a breaking change.

Requires writing bindings for graphql-ws's createClient function and the GraphQLWsLink

illusionalsagacity avatar Feb 03 '23 02:02 illusionalsagacity

👍 Seems worth the breaking change.

jeddeloh avatar Feb 03 '23 03:02 jeddeloh