Skip to content

Commit

Permalink
Merge branch 'fix-codec' of https://github.com/varshith257/zio-http i…
Browse files Browse the repository at this point in the history
…nto fix-codec
  • Loading branch information
varshith257 committed Jun 25, 2024
2 parents f2a2c9c + 680912e commit bbbdc10
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ import zio.stacktracer.TracingImplicits.disableAutoTrace
import zio.http._
import zio.http.codec._
import zio.http.endpoint._
import zio.http.Status._

private[endpoint] final case class EndpointClient[P, I, E, O, M <: EndpointMiddleware](
endpointRoot: URL,
endpoint: Endpoint[P, I, E, O, M],
codecMapping: Map[Int, Codec[Any, Throwable, E]],
codecMapping: Map[Int, Codec[Response, Throwable, E]]
) {
def execute(client: Client, invocation: Invocation[P, I, E, O, M])(
mi: invocation.middleware.In,
Expand Down

0 comments on commit bbbdc10

Please sign in to comment.