Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ manage the flow of errors through results instead of relying on exceptions. #124

Merged
merged 20 commits into from
May 24, 2024

Conversation

kamilbaczek
Copy link
Collaborator

@kamilbaczek kamilbaczek commented Apr 15, 2024

PR includes ✨

  • Refactor business rules and validators to use results instead of exceptions
  • Manage the flow of errors through results instead of relying on exceptions
  • Rename tests match to errors instead of exceptions
  • Refactor endpoints and commands

PR does not include ❌

  • Extracting business rule validators to a NuGet package

@kamilbaczek kamilbaczek changed the title Manage the flow of errors through resul instead of relying exceptions manage the flow of errors through result instead of relying exceptions Apr 15, 2024
@kamilbaczek kamilbaczek marked this pull request as ready for review May 8, 2024 17:05
@kamilbaczek kamilbaczek changed the title manage the flow of errors through result instead of relying exceptions ✨ manage the flow of errors through results instead of relying on exceptions. May 11, 2024
Copy link
Collaborator

@meaboutsoftware meaboutsoftware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. It looks great! So similar to promises, I really like that approach. It is cool that it evolved to such form in comparison to the draft that we discussed previously :)
  2. You can move all the common logic to common package that we have for chapter 4 in a separate branch - it would be just great to do it ASAP as this one is merged.
  3. Some formatting issues.

Absolutely fantastic job!

@kamilbaczek kamilbaczek merged commit e8f636c into main May 24, 2024
2 checks passed
@kamilbaczek kamilbaczek deleted the feature/error_handler branch May 24, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants