-
Hi, I am using NestJS, and was following the tutorial there, they 'strongly recommend graphql-ws', but I found that the Apollo Payground (default for nestjs) doesn't support the new protocol yet. Is there an alternative playground that does? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
GraphQL Playground as of right now does not support I recommend using GraphiQL instead. Read here about how to use If you want to use just |
Beta Was this translation helpful? Give feedback.
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
andsubscriptions-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.