Open n-r-w opened 2 years ago
Yes, of course we do! This repo (or video for that matter) is fairly old! Thanks for your comment!
I will like to see and follow up video, updating this matter and going from zero to complete example.
Much like learn by doing approach
Shouldn't we convert datastructure (aka entity) into another kind of DTO at the transition between service (aka usecase) and repository(aka gateway)? After all, the rules of interaction between business logic and the database can change as well as the rules at the handler level.