You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Johannes Schulte (JIRA)" <ji...@apache.org> on 2019/06/14 21:16:00 UTC

[jira] [Created] (AVRO-2421) Allow multiple @AvroAlias annotations on java classes and their fields

Johannes Schulte created AVRO-2421:
--------------------------------------

             Summary: Allow multiple @AvroAlias annotations on java classes and their fields
                 Key: AVRO-2421
                 URL: https://issues.apache.org/jira/browse/AVRO-2421
             Project: Apache Avro
          Issue Type: Improvement
            Reporter: Johannes Schulte
            Assignee: Johannes Schulte


The avro schema specification allows defining multiple aliases for fields and records and this can be useful especially when using java classes to define the schema (refactoring & namespace/package changes).

With the introduction of @Repeatable in java 1.8 there exists an easy way to expose this flexibility in the Reflect-based world. This patch enables defining multiple @AvroAlias annotation on both fields and classes 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)