You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2012/12/04 23:14:59 UTC

[jira] [Updated] (THRIFT-1768) unions can't have required fields (Compiler)

     [ https://issues.apache.org/jira/browse/THRIFT-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-1768:
-------------------------------

    Attachment:     (was: THRIFT-1768_unions_cant_have_required_fields_Compiler.patch)
    
> unions can't have required fields (Compiler)
> --------------------------------------------
>
>                 Key: THRIFT-1768
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1768
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>    Affects Versions: 0.8, 0.9
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 1.0
>
>
> Required fields within unions should issue a warning. First, required makes not much sense with unions. Next, most languages are already treating them as optional anyway, effectively ignoring the required attribute.

--
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