You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Ashley Taylor (Jira)" <ji...@apache.org> on 2025/07/05 10:25:00 UTC
[jira] [Assigned] (AVRO-4165) Ability to specify AvroEncode on class
[ https://issues.apache.org/jira/browse/AVRO-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashley Taylor reassigned AVRO-4165:
-----------------------------------
> 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
>
> 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)