Skip to content
Discussion options

You must be logged in to vote

That's a great question for multiple reasons. Firstly, I had never heard of Vogen before, so thank you for bringing the project to my attention.

I've not done a huge deep dive into Vogen yet, but here are my initial thoughts: -

Vogen shares the same goal as Primitively, namely to provide a solution to "Primitive Obsession".

Both projects were inspired by Andrew Lock's brilliant StronglyTypedId project.

Vogen's source generation is invoked in the same way as Primitively by decorating a partial struct with an attribute. Vogen uses a single attribute (e.g. [ValueObject`1]), whereas Primitively has an attribute for each supported primitive type (e.g. [Guid], [Int]). Primitively's approach has…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dtanglr
Comment options

You must be logged in to vote
1 reply
@dtanglr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants