You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the third path should be theParent.0.child.
Looking at Observer's internal node tree suggests that all paths set here are incorrect. I believe the line should read:
_path: keys.slice(0,i).join('.')
Interestingly, if theParent.0.child is set to an atomic value before assigning an object then the resulting paths appear correct. However in this case '*:set' events don't propagate up the parent tree.
The text was updated successfully, but these errors were encountered:
There seems to be a bug with paths in the Observer.
The following code:
Gives output:
Notice the third path should be
theParent.0.child
.Looking at
Observer
's internal node tree suggests that all paths set here are incorrect. I believe the line should read:Interestingly, if
theParent.0.child
is set to an atomic value before assigning an object then the resulting paths appear correct. However in this case '*:set' events don't propagate up the parent tree.The text was updated successfully, but these errors were encountered: