Software engineer with over 10 years experience in different technology stacks, architecting, developing, CI/CD and leading teams. Currently working with Java, Node.JS and Serverless
Reading some answers I think I was not quite precise in my question. What I really ask is not if you put it in Service class, Domain class or Controller class but rather in which layer you would put it if you look at this diagram: github.com/mattia-battiston/clean-...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Reading some answers I think I was not quite precise in my question. What I really ask is not if you put it in Service class, Domain class or Controller class but rather in which layer you would put it if you look at this diagram:
github.com/mattia-battiston/clean-...