Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Support unsubscribing from GraphQL subscriptions #902

Open
albrow opened this issue Aug 10, 2020 · 0 comments
Open

Support unsubscribing from GraphQL subscriptions #902

albrow opened this issue Aug 10, 2020 · 0 comments

Comments

@albrow
Copy link
Contributor

albrow commented Aug 10, 2020

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:

  1. 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.
  2. 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.
@albrow albrow mentioned this issue Aug 11, 2020
36 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant