Ashley Taylor created AVRO-4165:
-----------------------------------
Summary: Ability to specify AvroEncode on class
Key: AVRO-4165
URL: https://issues.apache.org/jira/browse/AVRO-4165
Project: Apache Avro
Issue Type: Improvement
Components: java
Reporter: Ashley Taylor
Assignee: Ashley Taylor
Currently, when you want to specify a custom encoding, you need to specify the
`AvroEncode` annotation on the field within a class.
This is great for allowing custom encoding for third-party classes like
`Instant`
However, for classes specified within your application, it would be cleaner to
specify this only once on the class, rather than for all its uses.
This would also allow the object being written directly to the file to support
a custom encoder. Currently, you need to wrap it in another object.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)