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

Union Type writer generated in C# does not WriteStructBegin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.1
    • Component/s: C# - Compiler
    • Labels:
      None

      Description

      Generated C# code for a union type does WriteStructEnd but doesn't WriteStructBegin. The reader does ReadStructBegin. This does not manifest itself in the binary protocol because it writes nothing for either struct begin or end, but will likely manifest for other protocols.

        Attachments

        1. 1955.patch
          0.8 kB
          Carl Yeksigian

          Activity

            People

            • Assignee:
              carlyeks Carl Yeksigian
              Reporter:
              hmansell Howard Mansell
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: