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

fix(gatsby): use correct state in the schema hot reloader #19862

Merged
merged 2 commits into from
Nov 29, 2019

Conversation

vladar
Copy link
Contributor

@vladar vladar commented Nov 28, 2019

This PR is a follow up after #19781. It fixes schema hot reloading which was not handled correctly in the previous PR. It also adds a simple e2e test for schema rebuilding to catch such situations in the future.

@vladar vladar requested a review from a team as a code owner November 28, 2019 15:52
pvdz
pvdz previously approved these changes Nov 29, 2019
Copy link
Contributor

@pvdz pvdz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, great that the tests were fixed as well!

@pvdz
Copy link
Contributor

pvdz commented Nov 29, 2019

Oh I'm sorry, I missed the wip label. I would have postponed the review had I noticed it sooner.
(Note that you can create a wip PR)

@vladar
Copy link
Contributor Author

vladar commented Nov 29, 2019

Unfortunately, you can't draft an existing PR. And I noticed that e2e tests failing only after created this PR. Thats why using WIP label.

@vladar vladar force-pushed the vladar/e2e-schema-rebuilding branch from e7a1f83 to 07272ee Compare November 29, 2019 17:42
Copy link
Contributor

@sidharthachatterjee sidharthachatterjee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks @vladar 🥇

@sidharthachatterjee sidharthachatterjee added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Nov 29, 2019
@gatsbybot gatsbybot merged commit f92cb9c into master Nov 29, 2019
@delete-merged-branch delete-merged-branch bot deleted the vladar/e2e-schema-rebuilding branch November 29, 2019 19:10
@vladar
Copy link
Contributor Author

vladar commented Dec 2, 2019

Published in gatsby 2.18.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants