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

Improve DynamicValue error handling #480

Open
devsprint opened this issue Jan 17, 2023 · 3 comments
Open

Improve DynamicValue error handling #480

devsprint opened this issue Jan 17, 2023 · 3 comments
Assignees
Labels
💎 Bounty enhancement New feature or request

Comments

@devsprint
Copy link
Contributor

devsprint commented Jan 17, 2023

In current implementation, toTypedValue operation is returning an Either data type, that is basically an implementation of fail-fast approach on error handling.
Instead, it could return an instance of Validation data type from zio-prelude, to accumulate all the errors in the process of transforming a DynamicValue instance into a typed value.

@devsprint devsprint self-assigned this Jan 17, 2023
@devsprint devsprint added the enhancement New feature or request label Jan 17, 2023
@jdegoes
Copy link
Member

jdegoes commented Apr 25, 2023

/bounty $150

@algora-pbc
Copy link

algora-pbc bot commented Apr 25, 2023

💎 $150 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #480 with your implementation plan
  2. Submit work: Create a pull request including /claim #480 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
🟢 @andrzejressel #549

@algora-pbc
Copy link

algora-pbc bot commented Apr 30, 2023

💡 andrzejressel submitted a pull request that claims the bounty. You can visit your org dashboard to reward.
👉 @andrzejressel: To receive payouts, sign up on Algora, link your Github account and connect with Stripe on your dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants