Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect inspection: requires @AggregateIdentifier on subclass in polymorphic hierarchy when it is present in parent class #80

Closed
vab2048 opened this issue May 22, 2022 · 0 comments · Fixed by #115

Comments

@vab2048
Copy link

vab2048 commented May 22, 2022

Basic information

When you have a polymorphic hierarchy where the subclass does not have a field marked with @AggregateIdentifier (but the root abstract class does) the plugin complains with an inspection warning.

image

Steps to reproduce

You can reproduce the bug with the repo here: https://github.com/idugalic/axon-polymorphism-demo

E.G.

image

Expected behaviour

To be able to see the root class has the @AggregateIdentifier annotation.

Actual behaviour

Inspection given by mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants