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/11/29 22:54:58 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:
-------------------------------
Component/s: (was: Delphi - Compiler)
Compiler (General)
Description: Required fields within unions should issue a warning. First, required makes not much sense qith unions. Next, most languages are already treating them as optional anyway, effectively ignoring the required attribute. (was: Required fields within unions should be treaten as optional, the union construct would not make much sense otherwise. )
> 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 qith 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