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

Cannot get any data value using node.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.0
    • None
    • Node.js - Compiler
    • None

    Description

      When using Thift to generate js code, all property value are `undefined`, because of an extra `.value`. This bug makes Node.js cannot use Thrift anymore.

      generated code:
      this.groupId = input.readString().value // got undefined

      should be
      this.groupId = input.readString() // works fine

      Attachments

        Activity

          People

            Unassigned Unassigned
            dinfer TianYI Wen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: