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

Invalid generated code for Node.JS when using namespaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8
    • 0.9
    • Node.js - Compiler

    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

            Unassigned Unassigned
            nik-kor Nikita Korotkih
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: