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

Hudson commented on THRIFT-1651:
--------------------------------

Integrated in Thrift #529 (See [https://builds.apache.org/job/Thrift/529/])
    THRIFT-1651 Support annotations on all elements
Patch: Benjy Weinberger (Revision 1386848)

     Result = FAILURE
roger : http://svn.apache.org/viewvc/?view=rev&rev=1386848
Files : 
* /thrift/trunk/compiler/cpp/src/parse/t_enum_value.h
* /thrift/trunk/compiler/cpp/src/parse/t_function.h
* /thrift/trunk/compiler/cpp/src/thrifty.yy
* /thrift/trunk/compiler/cpp/test_parser.sh
* /thrift/trunk/test/AnnotationTest.thrift

                
> Support annotations on all elements
> -----------------------------------
>
>                 Key: THRIFT-1651
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1651
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (General)
>            Reporter: Benjy Weinberger
>            Priority: Minor
>              Labels: annotations, compiler, enum
>         Attachments: THRIFT-1651-annotations-everywhere.patch
>
>
> Custom annotations are currently supported on almost all types, but not on 
> enums (and their values), exceptions, functions and services. This issue 
> proposes to add that support, so that all type definitions are uniform in 
> this regard.
> This is useful, in particular, in custom code generation off thrift IDLs. For 
> example, we want to annotate each value in an enum with a "database name" so 
> we can match it with enum names in our database (which for various reasons 
> are not the same as the names of the enum values).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to