Skip to content

@DomainEvents and @AfterDomainEventPublication not visible on native image #2939

Closed
@odrotbohm

Description

@odrotbohm

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions