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

Make schema reloading more resilient. Closes #940 #951

Merged
merged 9 commits into from
Feb 1, 2019
Merged

Conversation

timsuchanek
Copy link
Member

Fixes #.

Changes proposed in this pull request:

@huv1k
Copy link
Collaborator

huv1k commented Feb 1, 2019

Thanks for PR @timsuchanek 🚀

@huv1k huv1k merged commit a220dc0 into master Feb 1, 2019
@huv1k huv1k deleted the fix-reload branch February 1, 2019 11:42
cgxxv pushed a commit to cgxxv/graphql-playground that referenced this pull request Mar 25, 2022
* Make schema reloading more resilient. Closes graphql#940

* Regarding "If there’s an active introspection query, wait for it’s result before sending another one" is default behavior when schema is reloading. The changes I made to account for this are unnecessary and actually cause polling to stop if the endpoint is unreachable.

* getIsPollingSchema catching regex error

* add schema reference equality & printing cache

* improve code readability

* cleanup: remove dead code

* fix build: use lru-cache. less unneeded repaints

* fix lru cache usage
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

Successfully merging this pull request may close these issues.

3 participants