Tag Archives: value objects

More On Value Objects

A few days ago Dylan Beattie wrote a nice post about value objects.  He explains the idea in a more palatable way than my attempt: If it’s not clear how to model a particular element in your model, try asking … Continue reading

Posted in Domain-Driven Design | Tagged , , | 1 Comment

There is never a collection of Value Objects

Adding to a Value Object property always adds to it, never adds another instance to it.  Distinguishing Value Objects by maintaining a collection of them implies identity. It is a mistake to attempt to maintain a collection of Value Objects. … Continue reading

Posted in Domain-Driven Design | Tagged , , | 16 Comments