Open grouzen opened 1 year ago
Worth trying to implement this scenario for the latest zio-http, zio-opentelemetry and zio2.
In the original Discord thread, I suggested using ZIO Http Middleware to solve the issue and it turned out that another person took the same approach and shared his solution. Here is an example of such middleware: https://gist.github.com/tjarvstrand/aceb00102a2fa21fd6c7b6f4fe431be9. I hope it might be helpful.
Reported in Discord channel: https://discord.com/channels/629491597070827530/639825316021272602/1120329881318862848