Closed LeonPoon closed 11 months ago
Good stuff, thank you for the contribution. Avrohugger's import system needs some love, but in the meantime we're now generating a fully qualified shapeless.Coproduct
. Available now in avrohugger 1.5.3 and sbt-avrohugger 2.5.3, should be syncing up with maven central shortly
This PR doesn't actually fix anything but only shows a bug. Added a tested case which is passing but should fail.(
avrohugger-core/src/test/expected/specific/com/example/avrohugger/unions_with_coproduct_avsc/s.scala
should include import ofCoProduct
but it doesn't, hence the test currently passes.)I don't have the next 24h to try and fix this, but if anyone else has the fix, feel free to commit on top.