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

EventStore interface should be in Ddd\Domain? #14

Open
msarris opened this issue Jul 12, 2016 · 0 comments
Open

EventStore interface should be in Ddd\Domain? #14

msarris opened this issue Jul 12, 2016 · 0 comments

Comments

@msarris
Copy link

msarris commented Jul 12, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant