A colleague pointed this out to me today: the documentation of 4.0/4.1 do not mention the @Aggregate annotation at all anymore.
What is the proper way of defining an Aggregate in Spring Boot nowadays, because without @Aggregate it does not seem to work?
Kind regards,
David Stibbe
allardbz
(Allard Buijze)
2
Hi David,
it is indeed with @Aggregate. I’ll look into why it seems to have disappeared from the documentation.
Kind regards,
allardbz
(Allard Buijze)
3
Hi David,
it does actually mention it, here:
https://docs.axoniq.io/reference-guide/configuring-infrastructure-components/command-processing/command-model-configuration#aggregate-configuration
If you select the “Spring Boot Autoconfiguration” tab, you will see the explanation that the annotation triggers auto-configuration of the Aggregate.
We’ll have a look if we can make it more obvious.