kgrzybek / modular-monolith-with-ddd

Full Modular Monolith application with Domain-Driven Design approach.
MIT License
11.15k stars 1.75k forks source link

Infrastructure Module and DRY #274

Closed luckmandev81 closed 1 year ago

luckmandev81 commented 1 year ago

A lot of code on each module Infrastructure project is repeated. For example OutboxMessageDto.cs is exactly the same across all projects. I understand the fact that this level of decoupling comes with the downside of repeating some code. But since there is a BuildingBlocks project anyway, why did you decide not to keep most of this repeating code there?