Description
Avro v1.9.0 introduced defaults for enum types (https://issues.apache.org/jira/browse/AVRO-1340).
This issue is to add support for enum defaults to the Ruby implementation.
The current enum handling in the Ruby implementation does not follow the spec. If a writer's symbol is unknown to the reader, then the writer's symbol is still returned.
I don't plan on breaking that behavior, but if a default is specified for the enum type then that will be returned instead of the unknown writer's symbol.
Attachments
Issue Links
- links to