Skip to content

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

Merged
mweststrate merged 2 commits intomobxjs:masterfrom
dnakov:patch-1
Mar 7, 2018
Merged

tryResolve can leave an object node in a bad state#668
mweststrate merged 2 commits intomobxjs:masterfrom
dnakov:patch-1

Conversation

@dnakov
Copy link
Copy Markdown
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
Copy Markdown
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