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

Golang generator missing docstring for structs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2
    • 0.9.3
    • Go - Compiler
    • None
    • Patch Available

    Description

      Consider the following thrift file:

      /** +gen slice:"SortBy" */
      struct Contact {
          1: required string id,
          2: required string name
      }
      

      After generation of the file the comment at the top does not show in the generated file. Please see attached patch.

      Attachments

        Activity

          People

            jensg Jens Geyer
            vimdude Abdel Said
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: