Skip to content

V1/main - #126

Merged
eneshoxha merged 8 commits into
masterfrom
v1/main
Jul 24, 2025
Merged

V1/main#126
eneshoxha merged 8 commits into
masterfrom
v1/main

Conversation

@eneshoxha

Copy link
Copy Markdown
Contributor

No description provided.

Matthieu PRIEUR and others added 8 commits July 9, 2025 15:56
Add : new option to add internal or private handlers
Remove TransactionCommandBehavior,
Remove ValidationVommandBahaviour,
Update Logging CommandBehavior to support elapsed time.
v1/feature/118 : Remove default pipelines
- Make ICommand and ICommandHandler generic (TResult)
- Update IMediator / Mediator to return TResult from commands
- Generalize pipeline & logging behaviors to TResult
         - CommandPipelineBehavior
         - LoggingCommandBehavior
         - add LoggingQueryBehavior

- add Common/Unit.cs to represent “void” command results

- Update DI helpers (MediatorOptions*, ServiceCollectionExtensions)

- README updated

BREAKING CHANGE: All command handlers must now implement ICommandHandler<TCommand, TResult>.
For commands that previously returned nothing, return Unit.
feat(mediator:119): add support for command return types (#119)
@eneshoxha eneshoxha self-assigned this Jul 24, 2025
@eneshoxha
eneshoxha merged commit b5d81c5 into master Jul 24, 2025
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