Ross ROSS = Recommend OSS · open-source software intelligence for agents

andrewlock/StronglyTypedId

A Rosyln-powered generator for strongly-typed IDs observed · 2026-08-28

github.com/andrewlock/StronglyTypedId · C# · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

35/100

  • Activity 7
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: n/a
  • age_days: 2661
  • days_rel: n/a
  • days_push: 558
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1752 stars · 90 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Roslyn-powered compile-time source generator for .NET that creates strongly-typed ID types from a simple attribute, eliminating boilerplate when wrapping primitives like Guid or int. It helps prevent primitive obsession by ensuring IDs of different entity types are not interchangeable.

Use cases

  • generate strongly-typed IDs in C#
  • avoid passing the wrong ID type to methods
  • eliminate boilerplate for wrapping primitive IDs
  • enforce type safety for domain entity identifiers
  • generate code at compile time with Roslyn source generators

When to choose

  • you use .NET 7+ and want type-safe entity IDs without hand-writing boilerplate
  • you want to fix primitive obsession in a C# codebase with minimal ceremony

When to avoid

  • you are not on .NET Core SDK 7.0 or greater
  • you prefer runtime generics or value objects over compile-time generated types

Facets

library · maturity active

type-system developer-tools parser developer-tools backend programming-languages dotnet cross-platform source-generator roslyn strongly-typed-ids primitive-obsession csharp compile-time-codegen

1 source

Member repositories

RepositoryRoleHealth v2
andrewlock/StronglyTypedIdmain35

For agents

markdown · JSON · MCP: product_card(name="andrewlock/StronglyTypedId")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem