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

applyPatch replace root of store if path is empty #1522

Merged
merged 3 commits into from
Jan 8, 2021

Conversation

epodgaetskiy
Copy link
Contributor

It seems to fix #1411
Using the recommendation replace the entire structure

@epodgaetskiy epodgaetskiy marked this pull request as ready for review May 6, 2020 21:43
@jamonholmgren
Copy link
Collaborator

@epodgaetskiy I'm taking over as primary maintainer on MST. What's the status on this PR? Still feel like it should be pushed through? Looks like there are some conflicts.

@jamonholmgren jamonholmgren added the question Question or help request label Nov 18, 2020
@epodgaetskiy
Copy link
Contributor Author

@jamonholmgren Fixed conflicts.

@epodgaetskiy
Copy link
Contributor Author

epodgaetskiy commented Nov 21, 2020

@jamonholmgren PR is ready for merging

Copy link
Collaborator

@jamonholmgren jamonholmgren left a comment

Choose a reason for hiding this comment

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

Thanks @epodgaetskiy ! Really appreciate it.

@jamonholmgren jamonholmgren added next-release Ready to go out in next release and removed question Question or help request labels Dec 18, 2020
@jamonholmgren
Copy link
Collaborator

We will actually wait for next major version since this could be a breaking change.

@jamonholmgren jamonholmgren added the breaking change Breaking change label Jan 8, 2021
@jamonholmgren jamonholmgren merged commit 6d28279 into mobxjs:master Jan 8, 2021
@jamonholmgren
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Breaking change next-release Ready to go out in next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

applyPatch will not replace root of store
2 participants