ALWAYS Valid Domain Model

added by DotNetKicks
9/30/2021 8:59:23 PM

271 Views

Always having your Domain Model in a valid state means it will be predictable. You'll write less defensive code or conditional code because your domain objects will always be in a valid state. Using aggregates is a great way to encapsulate the state with behavior to keep the state valid.


0 comments