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

C# compiler should generate constant files prefixed with thrift file name

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • C# - Compiler
    • None
    • Patch Available

    Description

      When you compile (recursively) thrift file that contains constants and includes another thrift file with constants, then only one Constants.cs file will be produced and it won't contain constants from the included file.

      Compiler should behave like a java version, for each thrift file with constants, generate a prefixed constants file.

      Attachments

        1. THRIFT-1977-Csharp_generate_constant_files_prefixed_with_thrift_file_name-v3.patch
          1 kB
          Jens Geyer
        2. THRIFT-1977-additional-fix-classnames-v2.patch
          3 kB
          Jens Geyer
        3. Testcases.zip
          0.5 kB
          Jens Geyer
        4. testcases_v2_fixed.zip
          1 kB
          Deniss Afonin
        5. t_csharp_generator.patch
          1 kB
          Deniss Afonin

        Issue Links

          Activity

            People

              jensg Jens Geyer
              afds Deniss Afonin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: