When the schema drawer to the right is clicked, the page crashes with the following errors
TypeError: this.editor is undefined and TypeError: e.containerComponent is null. Not sure if this is coming from saleor or from the playground package itself.
To view the graphql schema.
System information
Operating system: Windows 10 x64
Strange, it seems like the Playground is crashing with the current schema, but the schema is valid. Not sure what's causing the issue.
Seems like a bug in recent version of graphql-playground-react (1.7.23) Changing cdn link in playground.html:
https://github.com/mirumee/saleor/blob/ac7db9d50a714aadad360131729480ea0a95abb1/templates/graphql/playground.html#L9
to use 1.7.22 version will solve this problem for now.
<script src="//cdn.jsdelivr.net/npm/[email protected]/build/static/js/middleware.js"></script>
Most helpful comment
Seems like a bug in recent version of graphql-playground-react (1.7.23) Changing cdn link in playground.html:
https://github.com/mirumee/saleor/blob/ac7db9d50a714aadad360131729480ea0a95abb1/templates/graphql/playground.html#L9
to use 1.7.22 version will solve this problem for now.
<script src="//cdn.jsdelivr.net/npm/[email protected]/build/static/js/middleware.js"></script>