[
https://issues.apache.org/jira/browse/THRIFT-5153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278740#comment-17278740
]
Jens Geyer edited comment on THRIFT-5153 at 2/4/21, 10:05 AM:
--------------------------------------------------------------
The idea is about compatibility here. We want to keep byte for compatibility
but also inform aboiut the better alternative. Technically there is no reason
to break other peoples code just because we decided to rename the type.
was (Author: jensg):
The idea is about compatibility here. We want to keep byte for compatibility
but also inform aboiut the better alternative. Technically there is o reason to
break other peoples code just because we decided to rename the type.
> Deprecate byte
> --------------
>
> Key: THRIFT-5153
> URL: https://issues.apache.org/jira/browse/THRIFT-5153
> Project: Thrift
> Issue Type: Wish
> Components: Compiler (General)
> Reporter: Zezeng Wang
> Assignee: Jens Geyer
> Priority: Major
> Fix For: 0.14.0
>
>
> When use *byte* in .thrift file, it will throw *WARNING: The "byte" type is a
> compatibility alias for "i8". Use "i8" to emphasize the signedness of this
> type.*
> It looks ambiguous. Since byte will cause ambiguity, it is better to discard
> it completely.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)