ddd
ddd copied to clipboard
EventStore interface should be in Ddd\Domain?
I'm confused about why EventStore is placed in Ddd\Application instead of Ddd\Domain. The interface is referenced by Ddd\Domain\PersistDomainEventSubscriber. This shouldn't be allowed because you don't want dependencies from the Domain namespace on the Application namespace. (I think?)
Or the class PersistDomainEventSubscriber should also be moved to Ddd\Application.