Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5216 generate DeepCopy methods
  3. THRIFT-5220

DeepCopy() extension methods not generated when the IDL contains no service

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: netstd - Compiler
    • Labels:
      None

      Description

      Despite having a huge test case, for the following IDL the *.Extensions.cs is not generated at all, leading to a compiler error due to the missing implementations at Three.

      
      struct Foo  {
       1 : required string One
       2 : required string Two
       3 : optional list<string> Three
       4 : optional bool Four
       5 : optional string Five
      }
      
       

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              jensg Jens Geyer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: