TypeScript · Architecture · Junior · Architecture
DTO vs domain model typing?
Short Interview Answer
Separate transport shapes from rich domain types; map at boundaries.
Detailed Explanation
Prevents leaking persistence/API details into core logic.
TypeScript · Architecture · Junior · Architecture
Separate transport shapes from rich domain types; map at boundaries.
Prevents leaking persistence/API details into core logic.
Did you know this answer?