Repository navigation
Replies: 2 comments 7 replies
|
@arenshaee can you share a specific example in this codebase and any relevant official guidance around this subject? I suspect we do not inject any dispatchers in the usecases because they don't bring any value. |
7 replies
|
If you need to use another type of dispatcher over repositories, you can inject it into an usecase. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
As I
dug into the official guidelinesasked around and searched the web, everyone seemed to agree that dispatchers are better to inject into use cases. but here is not the case. I'd appreciate it if someone could provide the reasoning behind this decision alongside some information on why the other way is not optimal.Thanks.
All reactions