We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(moved from FasterXML/jackson-dataformat-avro#34 by @turbospaces)
Right now RecordVisitor create Fields without default VALUE, which causes problem when the schema evaluates and client operates with OLD data http://ben-tech.blogspot.com/2013/05/avro-schema-evolution.html
I suggest to change Record visitor to:
@Override public void optionalProperty(BeanProperty writer) throws JsonMappingException { Schema schema = schemaForWriter( writer ); if ( !writer.getType().isPrimitive() ) { schema = AvroSchemaHelper.unionWithNull( schema ); } _fields.add( new Schema.Field( writer.getName(), schema, null, writer.isRequired() ? null : Schema.parseJson( "null" ) ) ); }
The text was updated successfully, but these errors were encountered:
Add a note wrt #13 being implemented (both via earlier patch for reso…
13b9dd1
…lving decoder and newer one wrt Avro annotations)
Full support has been added now: this part is covered by full handling of default values during introspection.
Sorry, something went wrong.
No branches or pull requests
(moved from FasterXML/jackson-dataformat-avro#34 by @turbospaces)
Right now RecordVisitor create Fields without default VALUE, which causes problem when the schema evaluates and client operates with OLD data http://ben-tech.blogspot.com/2013/05/avro-schema-evolution.html
I suggest to change Record visitor to:
The text was updated successfully, but these errors were encountered: