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

Reloading the schema file doesn't affect autocompletion and syntax checking #637

Closed
marktani opened this issue Apr 9, 2018 · 3 comments
Closed

Comments

@marktani
Copy link
Contributor

marktani commented Apr 9, 2018

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

The one that is shipped to Prisma services as of today.

What is the expected behavior?

  • have a valid query in the query view
  • deploy a change to your prisma service that makes that query invalid
  • click the reload schema button
  • the autocompletion is still like before, as is the syntax checking
  • reloading the browser page applies the right schema

What is the actual behavior?

Reloading the browser page shouldn't be necessary to reload the schema used for autocompletion and syntax checking.

What steps may we take to reproduce the behavior?

See above.

@timsuchanek
Copy link
Member

Thanks for reporting @marktani ! Can you check if that is fixed in the latest Playground version?

@marktani
Copy link
Contributor Author

I can still reproduce this using 1.5.4 electron app.

@marktani marktani reopened this May 7, 2018
@timsuchanek
Copy link
Member

A fix has been released :)

cgxxv pushed a commit to cgxxv/graphql-playground that referenced this issue Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants