Skip to main content
4 events
when toggle format what by license comment
Oct 24, 2023 at 21:31 comment added STHA Gotta try this!
Oct 24, 2023 at 20:19 comment added VoiceOfUnreason With generics? No. The definition of the DTO doesn't need to be visible to Order - you can put the DTO in a completely separate module, and that module doesn't need to be available when Order is compiled. So your dependencies all point the right direction.
Oct 24, 2023 at 18:01 comment added STHA I like this. However, this requires the domain entity to know of some DTO, T, that is used for mapping back and forth between the persistence layer. Right?
Oct 23, 2023 at 23:23 history answered VoiceOfUnreason CC BY-SA 4.0