Closed
Description
In native images, methods annotated with @DomainEvents
and @AfterDomainEventPublication
are not visible as the processing of aggregate roots are currently does not detect those annotations and registers method with them for reflection.
We should annotate them with @Reflective
(similar to @(Reading|Writing)Converter
) and make sure we process aggregate root types using ReflectiveRuntimeHintsRegistrar
.