-
Notifications
You must be signed in to change notification settings - Fork 162
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 a method to Schema
that accepts validations
#716
Labels
Comments
/bounty $75 for addition, test, and doc. |
💎 $75 bounty • ZIOSteps to solve:
Thank you for contributing to zio/zio-schema! Add a bounty • Share on socials
|
💡 @987Nabil submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
jdegoes
pushed a commit
that referenced
this issue
Sep 3, 2024
🎉🎈 @987Nabil has been awarded $75! 🎈🎊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If not done via annotation, adding validations requires using
Schema#annotate
to add validations.I think a method on schema that takes a
Validation[A]
and is therefore also type safe, makes sense and eases use for libs and some users.The text was updated successfully, but these errors were encountered: