Oren Rose
Sep 21, 2023

Thanks, it's indeed point worth taken. I think that the fact that you always have just one transport doesn't mean you shouldn't separate the concerns for it.

Repository for example - I like repository (or DAU) not because I can change DB (to be honest we rarely change DBs...). It helps in the maintainability of the changes. Your application will grow, change and adapt, and when you have a change related to the data-layer, you want to see changes only in the repo, when you have changes related to the delivery, you want to see these changes only in the transport...

Oren Rose
Oren Rose

Written by Oren Rose

I’m a back-end developer, Golang enthusiastic and Clean Architecture zealous

No responses yet