[
https://issues.apache.org/jira/browse/AVRO-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oscar Westra van Holthe - Kind updated AVRO-4165:
-------------------------------------------------
Fix Version/s: (was: 1.13.0)
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.1
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)