Daniel Little Dev

Daniel Little Dev

@daniellittle.dev

People, Software development, Type Safety, Functional Programming, Distributed Systems, dotnet and FSharp

324 followers124 following20 posts

Separating your Domain Models from your DTO's is great advice. It decouples your domain from getting mixed up with web and persistence concerns. These models can seem similar when starting out a new project, but In my experience they always, sometimes quickly, diverge.

One classic example is different fields being editable when creating vs updating resources. Another is that you can then have rich type safe domain models instead of being restricted to what you can directly deserialize.

You are up to date.