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

Add validation functionality #14

Merged
merged 10 commits into from
Mar 8, 2024

Conversation

ChristopherMann
Copy link
Contributor

This pull request adds functionality related to validation:

  • ValidatingNewType is an extension of NewType which can perform complex validations on its value
    when being constructed. Any validation issues are returned in a structured way.
  • ComplexValidations contains helpers for validating object trees and returning any issues which were found
    in a structured way.

@ChristopherMann ChristopherMann marked this pull request as ready for review March 6, 2024 14:26
@ChristopherMann ChristopherMann requested a review from fw2568 March 6, 2024 14:26
Copy link
Contributor

@fw2568 fw2568 left a comment

Choose a reason for hiding this comment

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

great solution!

@fw2568
Copy link
Contributor

fw2568 commented Mar 8, 2024

please release as 3.1

@ChristopherMann ChristopherMann merged commit a2b2743 into main Mar 8, 2024
2 checks passed
@ChristopherMann ChristopherMann deleted the pull/add-validation-functionality branch March 8, 2024 10:33
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.

2 participants