SteveDunn/Vogen
A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 21.0
- age_days: 1738
- days_rel: 43
- days_push: 9
- n_releases_24m: 21
Adoption not part of the score
1492 stars · 93 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Vogen is a C# source generator and analyzer that converts primitives into strongly-typed value objects representing domain concepts. It emits compilation errors to prevent creation of invalid value objects, supporting domain-driven design patterns.
Use cases
- generate value objects from primitives in C#
- cure primitive obsession in .NET domain models
- create strongly-typed IDs like CustomerId in C#
- enforce validation at compile time for domain concepts
- implement DDD value objects in .NET
- prevent mixing up int parameters in C# code
When to choose
- You're building .NET/C# applications with domain-driven design
- You want compile-time safety against primitive obsession
- You need strongly-typed wrappers around ints, decimals, strings with minimal boilerplate
When to avoid
- You're not on .NET/C#
- You prefer runtime validation over compile-time generation
- Your project doesn't use Roslyn source generators or has build constraints against them
Facets
library · maturity active
type-system developer-tools code-review developer-tools programming-languages backend dotnet cross-platform source-generator value-objects ddd csharp primitive-obsession analyzer
1 source
- readme: https://github.com/SteveDunn/Vogen · fetched 2026-08-28 · 4989512adbf3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SteveDunn/Vogen | main | 97 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem