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

刘正元 commented on THRIFT-5448:
-----------------------------

It is actually accepting and returning {{Buffer}}s, only the type hint is 
wrong. So IMO there is no need to add such a flag.

> Wrong type mapping of thrift binary type
> ----------------------------------------
>
>                 Key: THRIFT-5448
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5448
>             Project: Thrift
>          Issue Type: Bug
>          Components: JavaScript - Compiler
>    Affects Versions: 0.14.2
>            Reporter: 刘正元
>            Priority: Major
>              Labels: Breaking-Change, typescript
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> thrift binary type should be mapped to {{Buffer}} in type definition. 
> Currently, it is mapped to string.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to