julianpeeters / avrohugger

Generate Scala case class definitions from Avro schemas
Apache License 2.0
201 stars 120 forks source link

Scavro nested clash #75

Closed wabu closed 6 years ago

wabu commented 7 years ago

I realized that the current scavro implementation fails on some nested name clashes so I added a example test case showing the failure and a patch that uses a different approach in converting nested records by just calling toAvro/fromAvro of the nested record avoiding the clash.

julianpeeters commented 6 years ago

Hi @wabu , sorry for the delay, I'm sure this will be greatly appreciated. It is out now in avrohugger 0.17.0 and sbt-avrohugger 1.0.0