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

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • netstd - Compiler
    • 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

          jensg Jens Geyer added a comment -

          Workaround: Add an empty service definition to the IDL file.

          jensg Jens Geyer added a comment - Workaround: Add an empty service definition to the IDL file.

          People

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

            Dates

              Created:
              Updated:
              Resolved: