[
https://issues.apache.org/jira/browse/AVRO-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15762183#comment-15762183
]
ASF GitHub Bot commented on AVRO-1971:
--------------------------------------
GitHub user baunz opened a pull request:
https://github.com/apache/avro/pull/175
Allow alias annotation on fields
Sorry for the confusion, here's the f(fow now) final pul request to this
issue I created:
https://issues.apache.org/jira/browse/AVRO-1971
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/baunz/avro AVRO-1971-AvroAlias-On-Fields
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/175.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #175
----
commit ea94c703e6df801d6832cf1167a9b326a87af83a
Author: baunz <[email protected]>
Date: 2016-12-18T20:48:33Z
Allow alias annotation on fields
----
> AvroAlias Annotation should work on field elements
> --------------------------------------------------
>
> Key: AVRO-1971
> URL: https://issues.apache.org/jira/browse/AVRO-1971
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.8.1
> Reporter: Johannes Schulte
> Priority: Minor
>
> @AvroAlias annotation works only for records / classes but not for fields
> when using ReflectData-generated schemas. The specification allows aliases
> for comple types AND for fields.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)