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

tryResolve can leave an object node in a bad state #668

Merged
merged 2 commits into from
Mar 7, 2018

Conversation

dnakov
Copy link
Contributor

@dnakov dnakov commented Feb 19, 2018

if you tryResolve(node, '/path_that_doesnt_exist'), _autoUnbox is left === false
Doesn't make sense to have any simple get operations breaking the tree.
Code Sandbox

if you `tryResolve(node, '/path_that_doesnt_exist')`, _autoUnbox is left === false
Doesn't make sense to have any simple `get` operations breaking the tree.
@mweststrate
Copy link
Member

Thanks!

@mweststrate mweststrate merged commit 4542ff8 into mobxjs:master Mar 7, 2018
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.

2 participants