GoogleWebComponents / firebase-element

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

adding an item to collection causes incorrect notification #126

Closed ryanwtyler closed 8 years ago

ryanwtyler commented 8 years ago

https://github.com/GoogleWebComponents/firebase-element/blob/master/firebase-collection.html#L326

when I add an item to a firebase collection in _localDataChanged, change.value is {keySplices: null, indexSplices: null} which causes this if to fail and so ._applySubPathChange gets called incorrectly.