You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/09/19 20:24:44 UTC

[jira] Created: (THRIFT-141) If a required field is not present on serialization, throw an exception

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
            Reporter: Bryan Duxbury


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.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-141) If a required field is not present on serialization, throw an exception

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury updated THRIFT-141:
---------------------------------

    Fix Version/s: 0.2

> 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
>            Reporter: Bryan Duxbury
>             Fix For: 0.2
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.