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

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

Commit 4c1463cba1bc268c2ccf2a506d27e6ee84030316 in avro's branch 
refs/heads/master from k.usachev
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=4c1463c ]

AVRO-1819, AVRO-1820: Java: Add aliases, custom properties to Protocol. 
Contributed by Konstantin Usachev.


> Read annotations to request's fields
> ------------------------------------
>
>                 Key: AVRO-1820
>                 URL: https://issues.apache.org/jira/browse/AVRO-1820
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.8.0
>            Reporter: Konstantin Usachev
>
> IDL compiler supports annotations on field's type but doesn't support 
> annotations on field itself.  I mean you can write something like
> {code}
> ...
> void method(int @annotation("value") param);
> ...
> {code}
> which translates to
> {code}
> ...{
>         "name" : "param",
>         "type" : "int",
>         "annotation" : "value"
>       }...
> {code}
> but we lose annotations at org.apache.avro.Protocol.parseMessage. Another 
> related to this bug is AVRO-1819



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to