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

Jens Geyer commented on THRIFT-5448:
------------------------------------

As a suggestion, the breaking change could be mitigated by adding a 
(compatiblity) switch. We have the same for Delphi, for some historical reason.

{code}
ansistr_binary:  Use AnsiString for binary datatype (default is TBytes).
{code}
 

> 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