@DomainEvents
and @AfterDomainEventPublication
not visible on native image
#2939
Labels
@DomainEvents
and @AfterDomainEventPublication
not visible on native image
#2939
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 usingReflectiveRuntimeHintsRegistrar
.The text was updated successfully, but these errors were encountered: