Leaking Value Objects from your Domain

added by DotNetKicks
10/20/2021 9:39:19 PM

290 Views

Value Objects are a great way to explicitly capture concepts within your domain. They are immutable, always in a valid state, provide behavior, and are defined by their value. This sounds a lot like Messages (Commands, Events) that are also immutable and should be in a valid state.


0 comments