dappsnation / akita-ng-fire

Akita ❤️ Angular 🔥 Firebase
MIT License
131 stars 27 forks source link

[Upsert] Remove id verification #159

Closed GrandSchtroumpf closed 3 years ago

GrandSchtroumpf commented 3 years ago

In this case :

service.upsert({ id, ...updates });

The upsert method will think that the document exist because there is an id. We should remove this line.