graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.77k stars 735 forks source link

GQL-Playground: Schema tab crashes but doc works #1248

Closed udaykor closed 4 years ago

udaykor commented 4 years ago

This issue pertains to the following package(s):

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

Mac OS X Catalina

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

1.16.12

What is the expected behavior?

My schema is valid, I can query & mutate. I can look at docs. However when I select the schema tab, the browser reloads to a blank page. I have introspection set to true.

What is the actual behavior?

I should be able to look at the schema from GQL Playground

What steps may we take to reproduce the behavior?

I am using these to get to the GQL Playground "graphql-tag": "^2.10.3", "graphql-yoga": "^1.18.3",

Please provide a gif or image of the issue for a quicker response/fix.

jeggy commented 4 years ago

This also happens for me. For some reason it seems like all lines that should be type *typename* {are just missing.

image

Screenshot from 2020-07-01 01-15-24

ajeydudhe commented 4 years ago

I am also observing same issue. Had referred https://github.com/prisma-labs/graphql-playground/blob/master/packages/graphql-playground-html/minimal.html

Stradivario commented 4 years ago

I am here just to reference the same issue

https://github.com/prisma-labs/graphql-playground/issues/1252

https://github.com/prisma-labs/graphql-playground/issues/1243

chaffeqa commented 4 years ago

FYI i think https://github.com/prisma-labs/graphql-playground/pull/1245 fixes this

leonbe02 commented 4 years ago

Any ETA on when this fix will be deployed?

udaykor commented 4 years ago

I found using Apollo-Server-Express to solve this. Now more graphql-yoga for me!

acao commented 4 years ago

dupe, fixed in last release