Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-141

If a required field is not present on serialization, throw an exception

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Compiler (General)
    • None

    Description

      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.

      Attachments

        Activity

          People

            bryanduxbury Bryan Duxbury
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: