Skip to content

v0.7.0 — Remove MediatR dependency, add ErrorType/Result extensions, align repo scaffolding#7

Merged
boutquin merged 1 commit into
mainfrom
release/v0.7.0
Mar 16, 2026
Merged

v0.7.0 — Remove MediatR dependency, add ErrorType/Result extensions, align repo scaffolding#7
boutquin merged 1 commit into
mainfrom
release/v0.7.0

Conversation

@boutquin

Copy link
Copy Markdown
Owner

Summary

  • Remove MediatR.Contracts dependency — replaced with local INotification marker interface
  • Add ErrorType enum mapped to HttpStatusCode for error-to-HTTP mapping
  • Add factory methods on Error (BadRequest, NotFound, Conflict, etc.) and implicit Error → Result conversions
  • Add Result extensions: Map, Bind, BindAsync, Tap, TapAsync, OnFailure, MatchAsync
  • Enable TreatWarningsAsErrors and coverage artifact upload in CI
  • Add ARCHITECTURE.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md

Test plan

  • dotnet build — 0 warnings, 0 errors
  • dotnet test — 308 tests pass

🤖 Generated with Claude Code

… repo scaffolding with Storage (#1)

- Replace MediatR.Contracts with local INotification marker interface
- Add ErrorType enum mapped to HttpStatusCode for error-to-HTTP mapping
- Add factory methods on Error (BadRequest, NotFound, Conflict, etc.)
- Add implicit Error → Result/Result<T> conversions
- Add Result.Cancelled() for cancellation scenarios
- Add ResultExtensions: Map, Bind, BindAsync, Tap, TapAsync, OnFailure, MatchAsync
- Enable TreatWarningsAsErrors and NoWarn NU5104 in Directory.Build.props
- Add coverage artifact upload to PR verify workflow
- Add ARCHITECTURE.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md
- Update README.md with doc references and remove stale MediatR mention

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@boutquin boutquin merged commit 32bd46b into main Mar 16, 2026
4 checks passed
@boutquin boutquin deleted the release/v0.7.0 branch March 16, 2026 04:44
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