Skip to content

Fix serializing of nullable property#6

Merged
auxdsimon merged 3 commits intomainfrom
fix-nullable-property
Oct 21, 2025
Merged

Fix serializing of nullable property#6
auxdsimon merged 3 commits intomainfrom
fix-nullable-property

Conversation

@auxmoney-tbarcala
Copy link
Copy Markdown
Collaborator

No description provided.

The AVRO specification defines that the default value should be used by
the reader side only, to resolve a value for a field that is not present
in the writer schema. The writer should not use the default value.

There was also an issue that would cause the default to be used by the
reader, in case the serialized value is a null, and the default value is
not null.
@auxdsimon auxdsimon merged commit 8776e3f into main Oct 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants