ddd-forum icon indicating copy to clipboard operation
ddd-forum copied to clipboard

Injection of Domain Services

Open Varagos opened this issue 2 years ago • 0 comments

Hello, I've been reading your Upvote Post useCase and i came across domain Services. My question is since they belong to the domain Layer, and Use Cases use their concrete Classes without any abstract interfaces, is there any reason we are injecting them in the useCase constructor and not directly importing them as we do with Entities/Aggregates?

Varagos avatar May 25 '22 13:05 Varagos