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

Support validation of required fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • Cocoa - Compiler
    • None
    • Patch Available

    Description

      Add generation of validate method that checks for required fields not being set. A new cocoa generator option should be created to allow users to opt-in for this validation during de-serialization.

      Attachments

        1. thrift-1897.patch
          4 kB
          Kevin Li

        Activity

          People

            roger Roger Meier
            kevinlsw Kevin Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: