Is it possible to have multiple primatives with Vogen? #703
Unanswered
danielmackay
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Thanks for the feedback. Yes, Vogen is for simple (singular) value objects rather than composites. I feel there is some other library that could represent composite value objects, potentially using Vogen to represent the individual components. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm just starting to explore Vogen and so far am really liking it. I'm also trying to see how far I can push the library. 😄
In DDD, a Value Object doesn't just have to be a single value. A Value Object could be a collection of values.
Is it possible to do something like this?
Where
decimal
would be the amount, andstring
would be a currency code.Beta Was this translation helpful? Give feedback.
All reactions