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 2021/08/03 19:44:00 UTC

[jira] [Commented] (THRIFT-5448) Wrong type mapping of thrift binary type

    [ 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)