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 a method to Schema that accepts validations #716

Closed
987Nabil opened this issue Aug 3, 2024 · 4 comments · Fixed by #734
Closed

Add a method to Schema that accepts validations #716

987Nabil opened this issue Aug 3, 2024 · 4 comments · Fixed by #734

Comments

@987Nabil
Copy link
Contributor

987Nabil commented Aug 3, 2024

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.

@jdegoes
Copy link
Member

jdegoes commented Aug 29, 2024

/bounty $75 for addition, test, and doc.

Copy link

algora-pbc bot commented Aug 29, 2024

💎 $75 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #716 with your implementation plan
  2. Submit work: Create a pull request including /claim #716 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to zio/zio-schema!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @987Nabil #734

Copy link

algora-pbc bot commented Aug 30, 2024

💡 @987Nabil submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Copy link

algora-pbc bot commented 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants