More built-in lexicons, plugin support for lexicons, generator for lexicon model classes. #6

Closed
opened 2026-02-22 03:26:20 +00:00 by Grandiras · 0 comments
Owner

More Built-in Lexicons, Plugin Support, Generator

More built-in lexicons, plugin support for lexicons, generator for lexicon model classes. Fast adoption of standards in the Atmosphere.

Current State (Partially Addressed)

  • Generator: The atproto-lexgen tool now provides bidirectional codegen (Lexicon JSON to C# and C# to Lexicon JSON). This covers the "generator for lexicon model classes" part.
  • Built-in lexicons: The SDK ships with hand-written models for core com.atproto.* and app.bsky.* lexicons.

Remaining Work

  • Plugin support: Allow custom lexicons to be distributed as NuGet packages with auto-registration
  • More built-in lexicons: Generate complete coverage of all com.atproto.* and app.bsky.* endpoints using atproto-lexgen
  • Source generators: Consider Roslyn source generators for compile-time Lexicon validation (alternative to the CLI tool)
## More Built-in Lexicons, Plugin Support, Generator More built-in lexicons, plugin support for lexicons, generator for lexicon model classes. Fast adoption of standards in the Atmosphere. ### Current State (Partially Addressed) - **Generator**: The `atproto-lexgen` tool now provides bidirectional codegen (Lexicon JSON to C# and C# to Lexicon JSON). This covers the "generator for lexicon model classes" part. - **Built-in lexicons**: The SDK ships with hand-written models for core `com.atproto.*` and `app.bsky.*` lexicons. ### Remaining Work - **Plugin support**: Allow custom lexicons to be distributed as NuGet packages with auto-registration - **More built-in lexicons**: Generate complete coverage of all `com.atproto.*` and `app.bsky.*` endpoints using `atproto-lexgen` - **Source generators**: Consider Roslyn source generators for compile-time Lexicon validation (alternative to the CLI tool)
Sign in to join this conversation.
No description provided.