Skip to content

Commit

Permalink
Towards 1.0.0: Deprecate all the Validation operator using or imp…
Browse files Browse the repository at this point in the history
…lying "parallelization" in their names

zio-prelude `1.0.0` roadmap: #1359

- `&>` deprecated in favour of `*>`
- `<&` deprecated in favour of `<*`
- `<&>` deprecated in favour of `<*>`
- `toZIOParallelErrors` deprecated in favour of `toZIOAccumErrors`
- `zipParLeft` deprecated in favour of `zipLeft`
- `zipParRight` deprecated in favour of `zipRight`
- `zipPar` deprecated in favour of `zip`
- `zipWithPar` deprecated in favour of `zipWith`
  • Loading branch information
guizmaii committed Dec 22, 2024
1 parent 72c6b17 commit 08a37d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/shared/src/main/scala/zio/prelude/ZValidation.scala
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ sealed trait ZValidation[+W, +E, +A] { self =>
final def zip[W1 >: W, E1 >: E, B](that: ZValidation[W1, E1, B])(implicit
zippable: Zippable[A, B]
): ZValidation[W1, E1, zippable.Out] =
zipWith(that)(zippable.zip)
zipWith(that)(zippable.zip(_, _))

/**
* Combines this `ZValidation` with the specified `ZValidation`, returning a
Expand Down

0 comments on commit 08a37d7

Please sign in to comment.