DiamondLightSource / DiamondLightSource/cs-web-lib

Update from subscription-transport-ws to graphql-ws

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority:1
Dominant language
TypeScript
Stars
5
Forks
4
Avg merge
3d 59m
Merged PRs (30d)
3

Description

The **subscription-transport-ws** repo uses the the _graphql-ws_ protocol to manage websocket connections to the graphql server. The subscription-transport-ws library has been deprecated and is no longer maintained so we should move away from using this.

Instead, users are encouraged to move to the **graphql-ws** library which uses the _graphql-transport-ws_ protocol.

Some details on how to switch are given here: https://www.apollographql.com/docs/apollo-server/data/subscriptions/#updating-subscription-clients

This should only require changes in the src/connection/coniql.ts file.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.