Skip to content

Add transaction command handler#7

Merged
dannygoodacre merged 10 commits intomainfrom
6-transaction-command-handler
Jan 10, 2026
Merged

Add transaction command handler#7
dannygoodacre merged 10 commits intomainfrom
6-transaction-command-handler

Conversation

@dannygoodacre
Copy link
Owner

Adds a command handler which wraps the logic in a transaction, rolling back or committing accordingly. Also includes interfaces for defining a transaction and a transaction provider.

@dannygoodacre dannygoodacre self-assigned this Jan 10, 2026
@dannygoodacre dannygoodacre linked an issue Jan 10, 2026 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Jan 10, 2026

Summary

Summary
Generated on: 01/10/2026 - 23:03:19
Coverage date: 01/10/2026 - 23:03:18
Parser: Cobertura
Assemblies: 1
Classes: 10
Files: 10
Line coverage: 98.6% (226 of 229)
Covered lines: 226
Uncovered lines: 3
Coverable lines: 229
Total lines: 661
Branch coverage: 100% (70 of 70)
Covered branches: 70
Total branches: 70
Method coverage: Feature is only available for sponsors

Coverage

DannyGoodacre.Core - 98.6%
Name Line Branch
DannyGoodacre.Core 98.6% 100%
DannyGoodacre.Core.CommandQuery.CommandHandler`1 100% 100%
DannyGoodacre.Core.CommandQuery.CommandHandler`2 100% 100%
DannyGoodacre.Core.CommandQuery.QueryHandler`2 94.7% 100%
DannyGoodacre.Core.CommandQuery.TransactionCommandHandler`1 95.2% 100%
DannyGoodacre.Core.CommandQuery.TransactionCommandHandler`2 95.2% 100%
DannyGoodacre.Core.Extensions.TypeExtensions 100% 100%
DannyGoodacre.Core.Result 100%
DannyGoodacre.Core.Result`1 100%
DannyGoodacre.Core.ValidationState 100% 100%
SystemMonitor.Core.ServiceCollectionExtensions 100% 100%

Full coverage report artifact

@dannygoodacre dannygoodacre merged commit b1f82f9 into main Jan 10, 2026
1 check passed
@dannygoodacre dannygoodacre deleted the 6-transaction-command-handler branch January 10, 2026 23:16
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.

Transaction Command Handler

1 participant