Since akita is not removing keys when a new state updates the store, this lead to some issues for akita ng fire. This is not an akita bug, it is by design.
Example:
you remove a key in firestore console and you won't see any changes on the page. You need to reload the page to see the effect.
This is why we need to purge the keys. Since in firestore, you only can update whole documents and not single keys. That being said, you want to purge the keys from the store that has been removed for instance. We can't delete a key from an akita store, but we can set them to undefined.
Since akita is not removing keys when a new state updates the store, this lead to some issues for akita ng fire. This is not an akita bug, it is by design. Example:
This is why we need to purge the keys. Since in firestore, you only can update whole documents and not single keys. That being said, you want to purge the keys from the store that has been removed for instance. We can't delete a key from an akita store, but we can set them to undefined.
close #119