Preferences

WhyNotHugo parent
> No need to just have just 1 model that maps 1:1 to your DB row. This applies to all languages

I agree with your stance, but creating lots of DTOs is more work and we developers are lazy. It's incredibly common to see a single "User" type used everywhere. This also makes all User-related functions re-usable in all contexts (again: it's the fast and lazy approach).


This item has no comments currently.