Reputation: 885
I'm trying to retrieve Firebase data ( Angularfire2 ) with the snapshotchanges observable. I was doing that ok with valuechanges but in this case the object keys are not retrieved.
But with snapshotchanges I got an array of "payload' objects. Until I know I need to use a map function in this case but the map function is not accepted for snapshotchanges.
Any thoughts on how to iterate on the retrieved objects in this case please ?
Upvotes: 1
Views: 895
Reputation: 165
Just to close this down. I provided the comment to update the RXJS version to 6. Its a very similar problem to many other RXJS version problems.
Be careful and see into the migration guide to update your rxjs version from 5 to 6 Link: Migration guide for RXJS
Upvotes: 2