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

REFACTOR: Replace Dawn.Guard with Throw and refactor domain validations #80

Merged
merged 7 commits into from
Aug 9, 2024

Conversation

CesarD
Copy link
Collaborator

@CesarD CesarD commented Aug 5, 2024

Description

Replace argument validation library Dawn.Guard with Throw library. Refactor corresponding domain validations and use the occasion to improve them.
Also refactor Handler and Validation classes to make them internal to hide them from public exposure.

Related Issue

Resolves #79

How Has This Been Tested?

Unit tests have been refactored and expanded to cover more cases than before.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactor
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

matthewtoghill
matthewtoghill previously approved these changes Aug 6, 2024
@CesarD CesarD marked this pull request as ready for review August 8, 2024 07:43
@CesarD CesarD merged commit 190bafa into main Aug 9, 2024
@CesarD CesarD deleted the refactor/domain_validations_tests branch August 9, 2024 10:40
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.

REFACTOR: Replace Dawn.Guard with Throw and refactor domain validations
2 participants