Modeling Primitives as Value Objects in TypeScript
Introduction When we model an entity we need to declare some properties with primitive types such as number or string. However, these types are so generic that they do not express the logic and rules behind the properties we need to model. We will co...
Apr 13, 20235 min read
