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

PHP: generated Service_method_result code should not have validators

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.2
    • PHP - Compiler
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: