Skip to content

release v1.0.0#43

Merged
nwdorian merged 21 commits intomainfrom
develop
Sep 13, 2025
Merged

release v1.0.0#43
nwdorian merged 21 commits intomainfrom
develop

Conversation

@nwdorian
Copy link
Copy Markdown
Owner

No description provided.

nwdorian added 21 commits July 1, 2025 18:40
* create Domain, Application and Infrastructure projects

* add project references
* move Result and Error classes to separate folders

* add ErrorType enum

* add ErrorType enum to custom errors

* refactor method returns to use implicit conversion with Failure results

* fix typo in Error constructor parameter

* refactor controller logic to use ErrorType

* remove interpolation from Category Errors
* remove NotModified custom error

* add Validation ErrorType

* add error mapping to status codes
* cleanup EF configurations

* add Duration property

* implement rich domain model

* add Duration property to Exercise response

* recreate InitialCreate migration
move service and middleware registration to configuration methods
* install Fluent Validation

* add Category request validators

* change Fluent Validation configuration to use Contracts assembly marker

* add Exercise requests validators
## Summary

This pull requests adds global exception handling feature

## Changes

- configure global exception handling services and middleware
- add `GlobalExceptionHandler` class that returns errors in a
standardized ProblemDetails response
## Summary
- this pull request adds ProblemDetails mapping from Error types

## Changes
- rework ErrorType enum
- add ErrorType factory methods 
- adjust custom ApplicationErrors
- add `ToProblemDetails` extension method
@nwdorian nwdorian merged commit de66b4e into main Sep 13, 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