makubi / avrohugger-maven-plugin

Maven plugin for generating Scala case classes and ADTs from Apache Avro schemas, datafiles, and protocols
Apache License 2.0
9 stars 9 forks source link

New syntax from Avro 1.11.1 not supported #81

Open AChekroun opened 1 year ago

AChekroun commented 1 year ago

Hello,

    <groupId>at.makubi.maven.plugin</groupId>
    <artifactId>avrohugger-maven-plugin</artifactId>
    <version>1.7</version>

Currently using v1.7, I cannot use latest syntaxt feature form Avro 1.11.1

Avro 1.11.1 has introduced new syntax to create optional fields AVRO-32557

ie:

union {null, string} optionalName = null;

can be writen

string? optionalName = null;

A bump to the latest version of avrohugger should fix the issue.

Thanks

ldeck commented 8 months ago

Any update on this?