Hi, I have a situation where I have AggregateRoot B that inherits from AggregateRoot A and I’m using event sourcing. One thing that’s a bit confusing is how to handle the repositories. In my command handler classes I am grabbing a reference to the Repo I set up in spring to create,load aggregates. So in the inheritance situation should I do the same thing?
AggregateRoot A -> CommandHanderA -> 'a’Repository
AggregateRoot B -> CommandHandlerB -> 'b’Repository
Or wil this confuse things?