This repository was archived by the owner on Oct 11, 2024. It is now read-only.
Support unsubscribing from GraphQL subscriptions #902
Open
Description
Currently, we do not have a way to unsubscribe from GraphQL subscriptions either on the server side or the client side. This will result in increased resource usage over time due to maintaining some state for clients that are no longer active. Addressing this will come in two parts:
- On the server side: Add support for detecting disconnects,
GQL_STOP
messages, and slow/inactive clients. This may require changes to https://github.com/99designs/gqlgen. - In the TypeScript GraphQL client: Add support for unsubscribing. This may require changes to the Apollo Client Core API since at the moment it doesn't look like unsubscribing is supported.
Metadata
Metadata
Assignees
Labels
No labels