-
Notifications
You must be signed in to change notification settings - Fork 36
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
Violated the Dependency Rule of Clean Architecture #6
Comments
Because it's not a dependency inversion, it's a dependency injection. This is the very reason why I don't like NestJs :) |
@Bezlepkin, for dependency inversion, in nestjs, you should inject provider via:
|
You can write Clean Code in NestJS too but the Repo Owner did not understand DDD yet |
nestjs-ddd/src/domain/services/user.service.ts
Line 4 in 11ab1ce
Domain should not depends on infrastructure.
The text was updated successfully, but these errors were encountered: