I am using Angular 8 with @ngrx/data
to manage my entities. When I initiate a delete operation which fails (server returns 500), the entity is removed from the ngrx client side cache, despite it not being deleted on the server.
How do I prevent the entity from being removed from the cache on error? Or how do I re-add the (non-)deleted entity back to the cache on error?