Skip to content

v3/feature/214: Source Generator for Compile-Time Dispatch#235

Open
eneshoxha wants to merge 1 commit intov3.2/releasefrom
v3/feature/214
Open

v3/feature/214: Source Generator for Compile-Time Dispatch#235
eneshoxha wants to merge 1 commit intov3.2/releasefrom
v3/feature/214

Conversation

@eneshoxha
Copy link
Contributor

Add Cortex.Mediator.SourceGenerator with compile-time dispatch

Introduce Cortex.Mediator.SourceGenerator, a Roslyn incremental source generator that emits a compile-time dispatcher (GeneratedMediator) and explicit DI registrations, eliminating runtime reflection and assembly scanning. Includes full implementation, packaging, and documentation. Integrates with the solution and test suite, adding comprehensive tests for generator output, diagnostics, and integration. No breaking changes to existing runtime code; the source generator is opt-in and NativeAOT-friendly.

Add Cortex.Mediator.SourceGenerator with compile-time dispatch

Introduce Cortex.Mediator.SourceGenerator, a Roslyn incremental source generator that emits a compile-time dispatcher (GeneratedMediator) and explicit DI registrations, eliminating runtime reflection and assembly scanning. Includes full implementation, packaging, and documentation. Integrates with the solution and test suite, adding comprehensive tests for generator output, diagnostics, and integration. No breaking changes to existing runtime code; the source generator is opt-in and NativeAOT-friendly.
@eneshoxha eneshoxha added this to the Cortex v3.2 milestone Feb 24, 2026
@eneshoxha eneshoxha self-assigned this Feb 24, 2026
@eneshoxha eneshoxha added enhancement New feature or request feature This label is in use for minor version increments labels Feb 24, 2026
@eneshoxha eneshoxha linked an issue Feb 24, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature This label is in use for minor version increments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Source Generator for Compile-Time Dispatch

1 participant