avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Blue (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AVRO-1820) Read annotations to request's fields
Date Wed, 20 Apr 2016 18:01:25 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ryan Blue resolved AVRO-1820.
-----------------------------
       Resolution: Fixed
         Assignee: Konstantin Usachev
    Fix Version/s: 1.8.1

> 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
>            Assignee: Konstantin Usachev
>             Fix For: 1.8.1
>
>
> 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)

Mime
View raw message