Skip to content

Commit

Permalink
Add (_, _) back to zippable.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
kyri-petrou committed Jun 22, 2024
1 parent de8616b commit 664eef4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zio-query/shared/src/main/scala/zio/query/ZQuery.scala
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ final class ZQuery[-R, +E, +A] private (private val step: ZIO[R, Nothing, Result
zippable: Zippable[A, B],
trace: Trace
): ZQuery[R1, E1, zippable.Out] =
zipWith(that)(zippable.zip)
zipWith(that)(zippable.zip(_, _))

/**
* Returns a query that models the execution of this query and the specified
Expand All @@ -770,7 +770,7 @@ final class ZQuery[-R, +E, +A] private (private val step: ZIO[R, Nothing, Result
zippable: Zippable[A, B],
trace: Trace
): ZQuery[R1, E1, zippable.Out] =
zipWithBatched(that)(zippable.zip)
zipWithBatched(that)(zippable.zip(_, _))

/**
* Returns a query that models the execution of this query and the specified
Expand Down Expand Up @@ -807,7 +807,7 @@ final class ZQuery[-R, +E, +A] private (private val step: ZIO[R, Nothing, Result
zippable: Zippable[A, B],
trace: Trace
): ZQuery[R1, E1, zippable.Out] =
zipWithPar(that)(zippable.zip)
zipWithPar(that)(zippable.zip(_, _))

/**
* Returns a query that models the execution of this query and the specified
Expand Down

0 comments on commit 664eef4

Please sign in to comment.