You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2016/01/19 19:51:39 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=15107181#comment-15107181 ] 

Ryan Blue commented on AVRO-1658:
---------------------------------

[~aeroevan], thanks for picking this up! The patch looks like a good start and I'm happy to see there's a test in there. It looks like it only supports doc strings on fields, but Records, Enums, and Fixed can all have doc strings as well. What do you think about updating your patch to allow AvroDoc to be used with Java classes and enums?

> Add avroDoc on reflect
> ----------------------
>
>                 Key: AVRO-1658
>                 URL: https://issues.apache.org/jira/browse/AVRO-1658
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>    Affects Versions: 1.7.7
>            Reporter: Zhaonan Sun
>              Labels: reflection
>         Attachments: 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
(v6.3.4#6332)