Skip to content

Commit 3e1c169

Browse files
committed
Tweak deprecation warning
1 parent cf175b8 commit 3e1c169

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/link/ws/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ export import WebSocketParams = WebSocketLink.Configuration;
3333

3434
/**
3535
* @deprecated `WebSocketLink` uses the deprecated and unmaintained
36-
* `subscriptions-transport-ws` library. We recommend switching to
37-
* `GraphQLWsLink`, which uses the [`graphql-ws` library](https://the-guild.dev/graphql/ws) to provide
38-
* support for sending GraphQL operations through WebSocket connections.
39-
* `WebSocketLink` will be removed in a future major version of Apollo Client.
36+
* `subscriptions-transport-ws` library. This link is no longer maintained and
37+
* will be removed in a future major version of Apollo Client. We recommend
38+
* switching to `GraphQLWsLink`, which uses the [`graphql-ws` library](https://the-guild.dev/graphql/ws) to
39+
* send GraphQL operations through WebSocket connections.
4040
*/
4141
export class WebSocketLink extends ApolloLink {
4242
private subscriptionClient: SubscriptionClient;

0 commit comments

Comments
 (0)