thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TianYI Wen (JIRA)" <>
Subject [jira] [Created] (THRIFT-4277) Cannot get any data value using node.js
Date Mon, 07 Aug 2017 11:15:00 GMT
TianYI Wen created THRIFT-4277:

             Summary: Cannot get any data value using node.js
                 Key: THRIFT-4277
             Project: Thrift
          Issue Type: Bug
          Components: Node.js - Compiler
    Affects Versions: 0.10.0
            Reporter: TianYI Wen

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

This message was sent by Atlassian JIRA

View raw message