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

Add method consideration to Aggregate ID inspection #115

Merged
merged 2 commits into from
Jul 13, 2022
Merged

Conversation

CodeDrivenMitch
Copy link
Member

@CodeDrivenMitch CodeDrivenMitch commented Jul 12, 2022

Fixes a bug where placing an @AggregateIdentifier annotation on a method would not be considered valid. It now is considered valid.
Also added a specific rule that the return type of this method may not be null.
In addition we now scan the superclasses of the aggregate for this routing key as well, and the inspection in powered by this information.

Closes #89
Closes #80

…with polymorphic aggregates not being picked up properly
@CodeDrivenMitch CodeDrivenMitch added this to the 0.7.2 milestone Jul 12, 2022
Copy link
Member

@gklijs gklijs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me 👍.

@CodeDrivenMitch CodeDrivenMitch merged commit 8010bb8 into master Jul 13, 2022
@CodeDrivenMitch CodeDrivenMitch deleted the fix/89 branch July 13, 2022 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants