tapir icon indicating copy to clipboard operation
tapir copied to clipboard

netty interpreter

Open ghostbuster91 opened this issue 5 years ago • 5 comments

Preliminary roadmap:

  • [x] a most basic interpreter, without any special capabilities (such as WebSockets or streaming), passing only the basic testsuite. The supported effect type is scala.concurrent.Future.
  • [x] a variant of the backend, which uses an arbitrary effect implementing cats-effect's Async
  • [x] streaming support for the cats-effect variant, using fs2
  • [ ] multipart support
  • [x] websocket support
  • [x] zio support
  • [x] performance improvements

For inspiration on how to design such a backend, see zio-http and other http servers built on top of netty.

ghostbuster91 avatar Mar 28 '20 16:03 ghostbuster91

Hello, any idea of when the multipart support could be implemented? I use the netty-sync with ox and would like to stay "direct style", and needed multipart files. I was surprised to get errors when trying it since there is nothing on it on the doc about it.

Since it seems to be mostly implemented, any help would be needed to complete it?

larochef avatar Dec 04 '24 13:12 larochef

Ah yes, it's been on my TODO list for too long. My current plan is to push this over the finish line early 2025 (January?). There's still some work in @kciesielski PR, so if you'd like to take a look at it, you're more than welcome.

adamw avatar Dec 04 '24 16:12 adamw

Looking forward to see multipart support added to the Netty backend 🥳

max-peroch avatar Feb 11 '25 23:02 max-peroch

Any news on it? I tried to watch it but it seems like the review needs more knowledge on the internals of tapir than I have

larochef avatar Mar 28 '25 14:03 larochef

@larochef Sorry, we'd love to finish this as well, but we're resource-constrained. For now our immediate plan is finishing sttp client 4, then we'll see where we'll direct our OSS efforts next :)

adamw avatar Apr 01 '25 14:04 adamw

Just making some noise because I need multipart support too 😁

markarasev avatar Jul 02 '25 10:07 markarasev

With multipart for netty-sync done - closing. If multipart support for netty-future / netty-cats / netty-zio is needed, please vote for this issue: https://github.com/softwaremill/tapir/issues/4851

adamw avatar Oct 03 '25 15:10 adamw