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

Invalid generated code for Node.JS when using namespaces

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: Node.js - Compiler
    • Labels:

      Description

      Described here https://gist.github.com/nik-kor/5965677

      The main point is that thrift generate invalid code for node.js cause of wrong namespace implementation

      UPD

      Generated correctly with

      ->./thrift-source/compiler/cpp/thrift -version
      Thrift version 1.0.0-dev

      UPD_1

      Generated correctly with

      ->./thrift-source/compiler/cpp/thrift -version
      Thrift version 0.9.0

      Our company have to upgrade thrift)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nik-kor Nikita Korotkih
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: