[
https://issues.apache.org/jira/browse/THRIFT-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654247#action_12654247
]
Bryan Duxbury commented on THRIFT-121:
--------------------------------------
I looked at the diff. It looks very simple. I think you should commit this so
other related issues can start to benefit. We can explore annotating individual
fields later.
> Add support for type modifiers
> ------------------------------
>
> Key: THRIFT-121
> URL: https://issues.apache.org/jira/browse/THRIFT-121
> Project: Thrift
> Issue Type: New Feature
> Components: Compiler (General)
> Reporter: Bryan Duxbury
>
> We'd like to have the ability to add type modifiers in the IDL to help
> protocols decide what encodings can be used for certain types. Some examples
> would be "fixed" and "zigzag" for integer types, and "extern" for strings
> (and possibly binary?) types.
> In addition to modifying the parser to properly detect type modifiers, we
> must change the signature of some protocol methods in all protocols to take a
> new parameter containing the type modifier. Implementations are free to act
> on or ignore the modifier accordingly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.