The value-object tag has no wiki summary.
3
votes
1answer
113 views
Use a custom value object or a Guid as an entity identifier in a distributed system?
tl;dr
I've been told that in domain-driven design, an identifier for an entity could be a custom value object, i.e. something other than Guid, string, int, etc. Can this really be advisable in a ...
1
vote
1answer
318 views
DDD and the persistence of value objects; must we denormalize?
I've been reading up a lot on Domain-Driven Development, and I came to the question of how to preserve lack of distinct identity with value objects (VOs). While in the DDD world, this is a requirement ...
2
votes
1answer
61 views
A good name for ValueObject that contains database update/create column values [closed]
We all know these fields, database admins so like to add:
UserCreated & DateCreated
UserUpdated & DateUpdated
They need to be displayed in the UI so I want to put them in some ValueObject ...
0
votes
1answer
157 views
Shouldn't Location be a Value Object?
Eric Evan's DDD book, Cargo Shipping Example, pg. 168:
Location
Two places with the same name are not the same. Latitude and longitude
could provide a unique key, but probably not a very ...
4
votes
1answer
931 views
Unique Value Object vs Entity
Trying to convert some entities into value objects I am stuck in a case where what seems a value object must be unique within an aggregate.
Suppose we have a Movie entity which makes the root of an ...