Hi all,
As a repository has no concept of deleting an aggregate (only adding &
loading) it's necessary to add some action in the domain object if
someone tries to load a deleted aggregate again.
How do you handle deleted Aggregates?
I added a simple boolean "deleted" field and then all methods check
for deletion before executing.
Any better solutions?
Cheers,
Michael