Skip to content
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

Listening to Subscriptoin doesn't work #1406

Open
6 tasks
cabiamdos opened this issue Nov 27, 2022 · 0 comments
Open
6 tasks

Listening to Subscriptoin doesn't work #1406

cabiamdos opened this issue Nov 27, 2022 · 0 comments

Comments

@cabiamdos
Copy link

This issue pertains to the following package(s):

  • [ x] 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

What OS and OS version are you experiencing the issue(s) on?

windows 10

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?

v1.8.10

What is the expected behavior?

to listen to subscription. I am using graphql yoga server and it works in the graphqli provided by yoga-graphql in the browser but when listening to subscription in the graphql playground doesn't work

What is the actual behavior?

it doesn't do anything, it keeps loading

What steps may we take to reproduce the behavior?

create a simple graphql susbcription server in windows 10 with yoga graphql (https://the-guild.dev/graphql/yoga-server/docs/features/subscriptions#pubsub) and test in graphql playground the subscription. I am using the pubSub (publish/subscribe) pattern

Please provide a gif or image of the issue for a quicker response/fix.
-> Image with the problem (electron app not working, it keeps loading forever)
image

-> Image in the graphql browser showing it is working
image

Aditionally there is also another problem, when creating a new tab it creates with "localhost:4000/graphql" but this doesn't work, you need to manually add "http://" in order to work. And also a feature request to add new tabs with ctrl+t or close delete tabs with ctrl+w. Thanks

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

1 participant