When defining a date field in the avro schema the generated java class files contains different types based on the given types.
Giving a schema that contains date's, some are optional and some required.
The generated class file defines the 4 fields with different java types
We would prefer to have the type as a LocalDate, so that case 3 and 4 give the same field definition.
Is this a bug or should the schema definition be different (and how)?