jeddeloh / rescript-apollo-client

ReScript bindings for the Apollo Client ecosystem
MIT License
126 stars 18 forks source link

subscriptions-transport-ws has been deprecated #152

Open illusionalsagacity opened 1 year ago

illusionalsagacity commented 1 year ago

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

As of @apollo/client@3.5.10 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

jeddeloh commented 1 year ago

👍 Seems worth the breaking change.