-
-
Couldn't load subscription status.
- Fork 458
Description
My team is currently developing some functionality where we will "deleting" multiple aggregates within a Saga. In the case that a step within the Saga fails, we add a compensating "restore" event to essentially undelete it.
This works fine for Aggregates as we have a simple IsDeleted boolean.
However, when we try to update the read model's we start to run into a problem. Ideally we would like to avoid adding a IsDeleted property on our read model and instead mark the model for deletion via the context(making it easier to query the read models in the future).
However, it would appear that once you mark the Read Model Context for deletion, you can't unset it.
I would like to suggest this as a feature.
Additionally, provided this is something that would be acceptable to change; I would be willing to implement it to reduce the bandwidth on maintainers.