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

Update Validated to Either Arrow 2.0 syntax #153

Open
nomisRev opened this issue Sep 25, 2023 · 2 comments
Open

Update Validated to Either Arrow 2.0 syntax #153

nomisRev opened this issue Sep 25, 2023 · 2 comments
Assignees
Labels
hacktoberfest Tickets belonging to hacktoberfest

Comments

@nomisRev
Copy link
Owner

In Arrow 1.2.0 Validated was deprecated in favor of Either.
To replace Validated Arrow now exposes zipOrAccumulate and mapOrAccumulate functions to accumulate Either.Left or Raise<E> errors that have occured when combining different Raise functions or Either values and when transforming an Iterable using Raise functions or Either values.

In this ticket we should remove all usages of Validated, and replace them with Either,
and replace all usages of zip with zipOrAccumulate and traverse with mapOrAccumulate.

Please assign yourself to this ticket before starting, and if you run into any issues please raise a PR so I can provide help and support directly in the code.

Thank you in advance for your interest in the project! Happy hacktoberfest!

@nomisRev nomisRev added the hacktoberfest Tickets belonging to hacktoberfest label Sep 26, 2023
@Alfhir
Copy link
Contributor

Alfhir commented Sep 26, 2023

I'd like to take on this.

@nomisRev
Copy link
Owner Author

Awesome! Don’t forget you should wait until October if you want it to count towards Hacktoberfest 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Tickets belonging to hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants