[ https://issues.apache.org/jira/browse/THRIFT-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell closed THRIFT-141. ------------------------------- Resolution: Fixed > 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 > Assignee: Bryan Duxbury > Fix For: 0.10.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 was sent by Atlassian JIRA (v6.3.4#6332)