Skip to content

Question: which GraphQL Playground to use? #274

Answered by enisdenjo
raarts asked this question in Q&A
Discussion options

You must be logged in to vote

GraphQL Playground as of right now does not support graphql-ws. There's an issue open (graphql/graphql-playground#1291) and even a PR for supporting both WS subprotocols (graphql-ws and subscriptions-transport-ws) in parallel (graphql/graphql-playground#1326).

I recommend using GraphiQL instead. Read here about how to use graphql-ws for subscriptions through @graphiql/toolkit.

If you want to use just graphql-ws for all operations (query, mutation and subscription), this Gist might help you out.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by enisdenjo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #273 on November 24, 2021 09:11.