Hi again,
I did not find anything in the AF5 docs/migration docs how to migrate AggregateLifecycle.markDeleted().
Simply remove it ?
Klaus
Hi again,
I did not find anything in the AF5 docs/migration docs how to migrate AggregateLifecycle.markDeleted().
Simply remove it ?
Klaus
Hi Klaus,
yes, that’s probably best. We’ve decided to remove the “markDeleted” feature in Axon 5, because it led to a lot of misunderstanding. In the end, it’s just a boolean field that you can set on your model based on an Event.
If the deleted state is important in your entity, simply maintain a boolean deleted field and update it. Otherwise, remove the call and don’t worry. Nothing effectively changes.
Hope this helps.
PS. We are in the process of releasing Skills for coding agents. This includes plugins/skills for Axon 4 to 5 migration. You can sneak preview them at GitHub - AxonIQ/agent-skills · GitHub