ddd icon indicating copy to clipboard operation
ddd copied to clipboard

EventStore interface should be in Ddd\Domain?

Open msarris opened this issue 8 years ago • 0 comments

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.

msarris avatar Jul 12 '16 13:07 msarris