Value Objects in Lotus::Model

Good day, all

I’m wondering if you have considered adding the concept of Value Objects (as explained in Eric Evans’ Domain Driven Design Book) in Lotus::Model.

I don’t think Value Objects should be treated as Lotus::Entity mixins. Should they be just POROs?

What if I need to persist them, is it correct to map them to repositories just like if they were entites?

Thanks in advance for your thoughts about this topic.

1 Like