You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/20 20:29:01 UTC

[jira] [Commented] (AVRO-1658) Add avroDoc on reflect

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

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

Commit 01a347e996a20406b0bf13026dd375725c4efb7f in avro's branch refs/heads/master from [~aeroevan]
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=01a347e ]

AVRO-1658: Java: Add reflection annotation @AvroDoc.

@AvroMeta can be used for other keys, but doc is passed into the field's
constructor.

Patch 2: @AvroDoc should work for class-level documentation too.

Closes #189


> Add avroDoc on reflect
> ----------------------
>
>                 Key: AVRO-1658
>                 URL: https://issues.apache.org/jira/browse/AVRO-1658
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: java
>    Affects Versions: 1.7.7
>            Reporter: Zhaonan Sun
>            Assignee: Zhaonan Sun
>            Priority: Major
>              Labels: reflection
>             Fix For: 1.9.0
>
>         Attachments: 0001-AVRO-1658-Java-Add-reflection-annotation-AvroDoc.patch, 0001-AVRO-1658-Java-Add-reflection-annotation-AvroDoc.patch, 0001-AVRO-1658-Java-Add-reflection-annotation-AvroDoc.patch
>
>
> Looks like @AvroMeta can't add reserved fields, like @AvroMeta("doc", "some doc") will have exceptions.
> I would be greate if we have a @AvroDoc("some documentations") in org.apache.avro.reflect



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