Skip to content

Ability to use graphql-ws instead of subscription-transport-ws #1291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 7 tasks
Amareis opened this issue Nov 12, 2020 · 6 comments
Open
1 of 7 tasks

Ability to use graphql-ws instead of subscription-transport-ws #1291

Amareis opened this issue Nov 12, 2020 · 6 comments

Comments

@Amareis
Copy link

Amareis commented Nov 12, 2020

This issue pertains to the following package(s):

  • GraphQL Playground - Electron App
  • GraphQL Playground HTML
  • GraphQL Playground
  • GraphQL Playground Express Middleware
  • GraphQL Playground Hapi Middleware
  • GraphQL Playground Koa Middleware
  • GraphQL Playground Lambda Middleware

subscription-transport-ws is (sort of) deprecated now: https://github.com/apollographql/subscriptions-transport-ws#graphql-ws
I think it's not really hard to implement grapqhl-ws support.

@Sytten
Copy link

Sytten commented Mar 22, 2021

The community has moved to graphql-ws now, I think it would better for playground to move too.

@brettjashford
Copy link

there's a PR to add this in graphql-playground-react #1295

@maxpain
Copy link

maxpain commented Jun 25, 2021

Any updates?

@faboulaws
Copy link

Ideally, the subscription client API should be a pluggable API. The subscription-transport-ws can be the default Handler (or Interface implementation) for backward compatibility. graphql-ws or other implementation/transport (such as SSE) can be used if wanted.

@jspizziri
Copy link
Contributor

@acao , any updates on this?

@elashpear
Copy link

For those looking for an alternative client that does support graphql-ws until this issue is resolved, I recommend another FLOSS client called Altair: https://altair.sirmuel.design/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants