GoogleWebComponents / firebase-element

Web components for the Firebase Web API
https://elements.polymer-project.org/elements/firebase-element
95 stars 72 forks source link

Observers for documents don't work as expected #127

Open ryanwtyler opened 8 years ago

ryanwtyler commented 8 years ago

https://github.com/GoogleWebComponents/firebase-element/blob/master/firebase-document.html#L85

this line calls set on entire document instead of subproperty that changed. this causes the change record's path to be "object" instead of "object.subprop". my app has things that depend on the value of "subprop" and I can't set up observers for these dependencies.