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

Generated Ruby client doesn't handle enums

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.9, 0.9.1
    • Fix Version/s: None
    • Component/s: Ruby - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The generated ruby client includes and uses enums but doesn't send or receive them correctly. They go out as i32 and are expected to be received as i32. While this is the underlying data type, it breaks things that expect the enum to come through.

        Attachments

        1. thrift-2143.diff
          5 kB
          Carl Franklin Hall

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thecarlhall Carl Franklin Hall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: