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

PHP: generated Service_method_result code should not have validators

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 0.9.2
    • Component/s: PHP - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      When generating service code with --gen php:validate, the generated code has validators that effectively require all declared exceptions to be thrown at the same time.

        Attachments

        1. php-arg-validator-fix.diff
          7 kB
          Stig Bakken

          Activity

            People

            • Assignee:
              roger Roger Meier
              Reporter:
              stigsb Stig Bakken
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: