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

David Reiss commented on THRIFT-409:
------------------------------------

I think the simplest test for the skip functionality is to write your 
StructWithAUnion to a buffer, then try to read that buffer as a "Emtpy" 
(defined in the same .thrift file).

> Add "union" to Thrift
> ---------------------
>
>                 Key: THRIFT-409
>                 URL: https://issues.apache.org/jira/browse/THRIFT-409
>             Project: Thrift
>          Issue Type: New Feature
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.2
>
>         Attachments: one_rule.diff, thrift-409-v2.patch, thrift-409-v3.patch, 
> thrift-409-v4.patch, thrift-409-v5.patch, thrift-409-v6.patch, 
> thrift-409-v7.patch, thrift-409-v8.patch, thrift-409.patch
>
>
> It would be very helpful to have a "union" construct in Thrift. Let's decide 
> on the design and then break up into sub-issues to add this feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to