You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2017/08/08 20:10:00 UTC

[jira] [Commented] (THRIFT-4277) Cannot get any data value using node.js

    [ https://issues.apache.org/jira/browse/THRIFT-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118949#comment-16118949 ] 

Jens Geyer commented on THRIFT-4277:
------------------------------------

Are you able to [provide a patch or pull request|http://thrift.apache.org/docs/HowToContribute]?

> Cannot get any data value using node.js
> ---------------------------------------
>
>                 Key: THRIFT-4277
>                 URL: https://issues.apache.org/jira/browse/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
(v6.4.14#64029)