You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case class F1(data: Option[F1])
val endpoint_wit_recursive_structure:
Endpoint[Unit, Unit, Unit, Option[F1], Any] =
endpoint.out(jsonBody[Option[F1]])
Above code fails to properly derive Schema typeclass for tapir using instead a default magnolia fallback that treats Option as a coproduct. This only happens when the inner container matches the outer container, i.e. not when we have jsonBody[List[F1]].
This was already reported and fixed in the past under #178
Hi,
Above code fails to properly derive
Schema
typeclass for tapir using instead a default magnolia fallback that treatsOption
as a coproduct. This only happens when the inner container matches the outer container, i.e. not when we havejsonBody[List[F1]]
.This was already reported and fixed in the past under #178
Additional info:
"com.softwaremill.magnolia1_2" %%% "magnolia" % "1.1.2"
The text was updated successfully, but these errors were encountered: