angularfire
angularfire copied to clipboard
DocumentChangeAction types are all added when a new document is added
When i add a new document to firestore and listen for the snapshot changed, every documentchangeaction that is returned has "added" as type, as opposed to the just the newly added document.
Version info
Angular: ~11.2.0
Firebase: ^7.0 || ^8.0
AngularFire: ^6.1.5
Other (e.g. Ionic/Cordova, Node, browser, operating system): ionic: 6.13.1
How to reproduce these conditions
Failing test unit, Stackblitz demonstrating the problem
Steps to set up and reproduce
Sample data and security rules
Debug output
** Errors in the JavaScript console **
** Output from firebase.database().enableLogging(true); **
** Screenshots **