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

alingse commented on THRIFT-4061:
---------------------------------

yes , i was to an thrift parser at [https://github.com/alingse/thrift-parser] 

and got error parse error with annotation part.

 
{code:java}
struct Insanity
{
  1: map<Numberz, UserId> userMap,
  2: list<Xtruct> xtructs
} (python.immutable= "")

{code}
 

can some who update the IDL [https://thrift.apache.org/docs/idl]  website

 

 

 

> The Thrift IDL does not include information about annotations
> -------------------------------------------------------------
>
>                 Key: THRIFT-4061
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4061
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Website
>    Affects Versions: 0.10.0
>            Reporter: James E. King III
>            Priority: Minor
>
> I'm looking over the ThriftTest.thrift and I found an annotation called 
> "py.immutable".  I looked it up and it is recognized in the python generator 
> as an annotation.  I searched for the word "annotation" in the published 
> Thrift IDL on the web site and I did not see anything.  I do not see anything 
> in the published IDL that would explain how to annotate a structure.
> http://thrift.apache.org/docs/idl



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to