Open rtkaczyk opened 7 months ago
@thesamet could you kindly consider this PR?
Hi @rtkaczyk , thanks for working on this, I appreciate the time you invested in putting the PR together. Since this is a breaking change that also adds complexity for the type signatures for all users of transformations, I prefer that we explore a different approach. The use case can be accomplished with ServerInterceptor that would override the listener. See this answer here: https://stackoverflow.com/a/68102211/97524 . I wonder if we can provide an idiomatic and this wrapper for this functionality in zio-grpc. Would you be open to look into that too?
Thanks for the suggestion, I'll have a look
Goal
Add request parameter to
GTransform
Rationale
To be able to decorate a service with an access log, as advertised in the docs. See LoggingTransform for an example.