DEV Community

Discussion on: Is file parsing a domain operation in DDD?

Collapse
 
goyo profile image
Grzegorz Ziemonski

To me, this looks like a case for neither an application service nor a domain one. If the parsing is super-short (like a single method) then putting it in a controller/app service is not a big deal. If it's more than that, I'd go for a separate object that parses CSVs which you then call from the mentioned controller/service.