Closed CodeDrivenMitch closed 2 years ago
After testing this with the customer, it has not been fixed. The testcase provided in the PR was wrong. The aggregate structure which caused the issue looks like this:
@SuppressWarnings("unused")
abstract class RootAggregate {
@CommandHandler
public void handle(String command) {
}
}
class ChildAggregate extends RootAggregate {
@CommandHandler
@Override
public void handle(String command) {
}
}
I am reopening the issue and targeting the correct fix for the 4.5.x
branch
Closing this issue as it was resolved in pull request #2298.
Basic information
Steps to reproduce
@Aggregate
.Expected behaviour
The duplicate command handler resolver is not triggered.
Actual behaviour
The duplicate command handler resolver is triggered.