project property-resolvers

Project case study

PropertyResolvers

Generates type-safe property resolvers at compile time, avoiding runtime reflection.

Annotated C# models drive a Roslyn source generator that emits switch-based property resolvers and a type-safe registry.

Stack
C#, Roslyn, Source Generators

Architecture

  1. Annotated C# models
  2. Roslyn source generator
  3. Generated switch-based resolvers

Highlights

  • Compile-time generation instead of runtime reflection
  • Nullable property support
  • Type-safe resolver registry

View source on GitHub

Connection lost. The terminal needs to reload. View the plain resume
connection

❯ connection lost
attempting to rejoin the server...

❯ retrying connection
next attempt in s

error: unable to reach server
check your connection and retry

❯ session paused
terminal state has been preserved

error: unable to resume session
start again or continue with the static resume

view the plain resume