Adam Warski

Results 580 comments of Adam Warski

See https://github.com/softwaremill/magnolia/issues/374 - a bit minimized, but still mysterious

@Centaur your particular problem is solved by bumping max-inlines as @pme123 suggested (thanks!). Question remains, can we do something in magnolia about it, or maybe Scala should bump the inlining...

Yes, I'd say that the "logic" is what translates inputs to outputs :) That's exactly what the signature says: `I => F[Either[E, O]]`. If you have some common logic that...

Taking the etag/conditional headers as an example, I think we implement something similar for the static content endpoints: https://github.com/softwaremill/tapir/blob/master/core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala Akka has a different model where you don't need to capture...

Maybe this could work - if you would have some specific suggestions as to what the structure of such REST endpoints might be, and how the server logic helper function...

tapir is focused on HTTP, so it only supports AsyncAPI when it comes to websockets. Describing JMS/Kafka/etc. endpoints might be interesting but would require a completely different API (as compared...

See https://github.com/softwaremill/sttp-apispec - a separate project for creating OpenAPI/AsyncAPI model classes. Might be a good starting for adding the JMS models :)

For some weird reason `implicit def schemaForIterable[T: Schema, C[X]

@jan0sch you've hit an interesting case :) Here's a simplified version of the test, also showing the solution: ```scala package sttp.tapir import org.scalatest.flatspec.AnyFlatSpec import org.scalatest.matchers.should.Matchers object Example { opaque type...

Btw. the point of this issue is to automatically derive schemas/codecs using the schema/codec for the base type (which can be a basis for further customisation)