tapir
tapir copied to clipboard
#1737 Input annotated class can be empty.
I hope this has no further implications on the macros that an empty case class is allowed.
I also all Unit () i.e. empty tuple to be mapped to an empty case class
( still need to run the build once because there isn't an automated test here.)
Looks good though you'll need to make the same changes to the Scala 3 implementation as well.
If you'd need to import the Scala3 flavor of tapir into intellij, change the ideSkipProject setting in build.sbt to:
ideSkipProject := (scalaVersion.value == scala2_12) || (scalaVersion.value == scala2_13) || thisProjectRef.value.project.contains("JS"),
i rebased on upstream the master.
@borissmidt Hm this looks like a correct PR. Did I somehow miss it, or was it lacking some development still?
I was just 'cleaning' up my open PR's on github. I opened this a year ago so i can't remember exactly why it got stuck.
I think it was an issue with one of the scala3 macros. I didn't spend further time on this issue, because i stopped developing on the poc project.