From 08a37d7d05190dec0326d10e55edbf1761d7819f Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Sun, 22 Dec 2024 14:45:56 +1100 Subject: [PATCH] Towards `1.0.0`: Deprecate all the `Validation` operator using or implying "parallelization" in their names zio-prelude `1.0.0` roadmap: https://github.com/zio/zio-prelude/issues/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` --- core/shared/src/main/scala/zio/prelude/ZValidation.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/shared/src/main/scala/zio/prelude/ZValidation.scala b/core/shared/src/main/scala/zio/prelude/ZValidation.scala index 4b8ae466d..6ae4b2c3e 100644 --- a/core/shared/src/main/scala/zio/prelude/ZValidation.scala +++ b/core/shared/src/main/scala/zio/prelude/ZValidation.scala @@ -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