Value Objects
Learn what value objects are and how they are implemented in Domain Driven Design.
As it was shown in the previous lesson, DDD has some tactical patterns to represent a model. There are three possible domain objects to implement business logic: Entities, Value Objects, and Aggregates. Consider creating an object that does not need identification such as an amount with value and currency. Value objects tackle just that.
Before going further with the definition of value object, it is worth looking at a common situation of the real world. It describes from the real world ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy