[
https://issues.apache.org/jira/browse/THRIFT-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-4277:
-------------------------------
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}}
was:
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
> 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)