Skip to content

Feature/5 readme sourcegenerator#11

Merged
oliver254 merged 3 commits into
devfrom
feature/5-readme-sourcegenerator
Mar 23, 2026
Merged

Feature/5 readme sourcegenerator#11
oliver254 merged 3 commits into
devfrom
feature/5-readme-sourcegenerator

Conversation

@oliver254
Copy link
Copy Markdown
Contributor

No description provided.

- Fix all API references: DispatchAsync/SendAsync/PublishAsync,
  correct namespaces (Monbsoft.BrilliantMediator.*),
  CancellationToken on all Handle() signatures
- Replace obsolete instance registration with fluent builder pattern
- Add Source Generator section (AddGeneratedHandlers, ScanHandlersFrom)
- Remove assembly scanning examples (reflection-based, removed in v3.0.0)
- Update .NET version badge to 10+
- Fix architecture description (ConcurrentDictionary + DI scope per call)
Replace 'ScanHandlersFrom' examples with 'BrilliantMediatorGenerator' in the README and docs.

- Update code samples to use:
  `[assembly: BrilliantMediatorGenerator(Namespace = "...", Assemblies = [typeof(...)])]`
- Clarify that the current assembly is always scanned
- Explain that `Assemblies` includes handlers from referenced assemblies
- Align ADR-004 wording with the new attribute syntax
@oliver254 oliver254 self-assigned this Mar 23, 2026
@oliver254 oliver254 merged commit d26eb1c into dev Mar 23, 2026
1 check passed
@oliver254 oliver254 deleted the feature/5-readme-sourcegenerator branch March 23, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant