[ 
https://issues.apache.org/jira/browse/AVRO-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008211#comment-18008211
 ] 

ASF subversion and git services commented on AVRO-4165:
-------------------------------------------------------

Commit 30c31a579ef1ded9f57505fcc160805bf5a21d21 in avro's branch 
refs/heads/main from Ashley Taylor
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=30c31a579e ]

AVRO-4165: [java] ability to specify AvroEncode on a class (#3425)



> 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
>          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)

Reply via email to