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

Why repository is a part of Domain API? #5

Open
ogarose opened this issue Nov 25, 2020 · 0 comments
Open

Why repository is a part of Domain API? #5

ogarose opened this issue Nov 25, 2020 · 0 comments

Comments

@ogarose
Copy link

ogarose commented Nov 25, 2020

Why a repository is a part of the Domain API when it may be a part of the Business folder?

That is why I think so.

As I understood, your Domain Core contains 2 folders/parts/layers

  • Imp - Business rules
  • API - Api for external Drivin Business rules.

API should be dependable on Business. But in your case, the business uses Repository from API layer. It makes the Business layer dependable from API.

Am I right, or I lose something?

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