FasterXML / jackson-dataformats-binary

Uber-project for standard Jackson binary format backends: avro, cbor, ion, protobuf, smile
Apache License 2.0
310 stars 133 forks source link

Support enum avro serialization with default value #391

Open Sonic-Rage opened 1 year ago

Sonic-Rage commented 1 year ago

Fixes #388.

cowtowncoder commented 1 year ago

Ok, I realized that the avro core dependency upgrade to 1.9.x would be needed to access "enum default" information (both create and get). But this upgrade is not possible since jackson-dataformat-avro code itself is incompatible with 1.9.x (see #167 f.ex).

So I am not 100% sure this is actually achievable at this point.

I did make couple of changes to PR, but it is unfortunately not in a compilable state.