julianpeeters / avrohugger

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

Same record name with different namespace https://github.com/julianpeeters/avrohugger/issues/114 #169

Closed ismailBenammar closed 1 year ago

ismailBenammar commented 1 year ago

As mentioned in issues: https://github.com/julianpeeters/avrohugger/issues/69 and https://github.com/julianpeeters/avrohugger/issues/114. We have come across conflicting the same name in different namespaces with a compile error.

With this pull request, we try to add the full name with the namespace as a type for a record fields.

julianpeeters commented 1 year ago

Thank you very much for the attention, great fix. I hadn't realized that a String would suffice as a Type. This is released now as avrohugger 1.4.0 and sbt-avrohugger-2.4.0