Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.5
Description
It would be nice if there was an annotation in org.apache.avro.reflect to specify default values for schemata derived reflectively, allowing for proper schema evolution.
I suggest the following:
@AvroDefault(1) int someNum; @Nullable @AvroDefault(null) AnotherRecord myRec;