scalapb / zio-grpc

ScalaPB meets ZIO: write purely functional gRPC services and clients using ZIO
Apache License 2.0
257 stars 81 forks source link

made a new Transform which receives Req type paramter #610

Open BaekGeunYoung opened 3 months ago

BaekGeunYoung commented 3 months ago

resolves #608

made a new Transform, RTransform, which embeds Req type also.

def effect[Req, Resp](
      io: (Req, ContextIn) => ZIO[Any, ErrorIn, Resp]
  ): (Req, ContextOut) => ZIO[Any, ErrorOut, Resp]

and added a codegen logic which adds a method to transform service using RTransform

thesamet commented 3 months ago

Thanks for sending the PR! The change itself looks good. Can you add:

cipriansofronia commented 1 month ago

@BaekGeunYoung any progress on this one?