When I observe a deep path of a property like so:
    observers: [
      'dataChanged(data.a.*')
    ]

Why is dataChanged called when data is set to {}? The change record is:
    { path: 'data.a',
      value: undefined,
      base: undefined }

Weirdly this only happens for the root property. If I observe
dataChanged(data.a.b.*), then dataChange is called when data is set to {},
but not when data.a is set to {}.

What is the expected behavior here? Sample:
http://jsbin.com/vibikewota/1/edit?html,console

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CACi5S_1sNvY%3D6U89%2BwtSqE24QyzJ5h8vwxpqoQTF92xAWxgbFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to