DEV Community

Discussion on: Clean Architecture, 2 years later

Collapse
 
eminetto profile image
Elton Minetto

Hello Agustín, sorry for the late reply.

  1. Yes, UseCase is the Service of the previous post. The Manager is a simpler UseCase, which only handles one entity. I gave different names to make it easier to understand the difference between them.
  2. Conceptually the most "correct" would be to create a DTO, but you can be a little more flexible in that sense and put the tags on the entity. I don't see it as such a critical problem to put the tags on the entity if that makes the project less complex.

Thanks for the positive feedbacks regarding the text.