-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
If you create a query on a FirebaseListObservable
the methods such as .push()
, .remove()
, and .update()
are never attached.
// a non-queried list
cost regularList = af.database.list(`/items`);
// a queried list
const queriedList = af.database.list(`/items`, {
query: { limitToLast: 25 }
});
// works
regularList.push({ name 'item' });
// won't work
queriedList.push({ name: 'item' });
I believe this is because a query creates a regular Observable, and then a mergeMap
is used to create a FirebaseListObservable
.
Any ideas on how to solve this issue, @Blesh?
TylerEich, maselpopowo, BergkampHUN, AionDev, jhades and 1 more