Hello,
i’m playing around with the “getting-started-with-event-store” project using the CommonDomain stuff.
In my test project i’m creating a new “Customer”, relocate it, etc.
Then i want to delete it.
repository.Save(customer, Guid.NewGuid());
But i’ve also seen a “AggregateDeletedException” handling in the example project of the GetEventStoreRepository implementation. But this will only work if the stream was deleted with EventStore.DeleteStream(…). But the CommonDomain.IRepository does not have a Detele() method. Is this just a technical check or domain logic?
How do you recommend to handle to delete a aggregate?
Thanks.