You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2013/08/21 16:11:56 UTC
[jira] [Updated] (THRIFT-141) If a required field is not present on
serialization, throw an exception
[ https://issues.apache.org/jira/browse/THRIFT-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell updated THRIFT-141:
--------------------------------
Component/s: Compiler (General)
Affects Version/s: 1.0
Fix Version/s: 1.0
> If a required field is not present on serialization, throw an exception
> -----------------------------------------------------------------------
>
> Key: THRIFT-141
> URL: https://issues.apache.org/jira/browse/THRIFT-141
> Project: Thrift
> Issue Type: New Feature
> Components: Compiler (General)
> Affects Versions: 1.0
> Reporter: Bryan Duxbury
> Fix For: 1.0
>
>
> The desired behavior of the "required" keyword is to state that a given field MUST be present in the serialized version of a record, or it will fail to deserialize. If we are going to have such functionality, it makes sense for us to also fail to serialize in the first place if a required field is omitted.
--
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