You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jano Svitok (Jira)" <ji...@apache.org> on 2020/03/26 08:28:00 UTC
[jira] [Comment Edited] (THRIFT-5070) Swift: Hashable.hashValue is
deprecated as a protocol requirement
[ https://issues.apache.org/jira/browse/THRIFT-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17067489#comment-17067489 ]
Jano Svitok edited comment on THRIFT-5070 at 3/26/20, 8:27 AM:
---------------------------------------------------------------
hash(into: ) is there since swift 4.2. Is compatibility with older versions desired?
was (Author: janosvitok):
hash(into:) is there since swift 4.2. Is compatibility with older versions desired?
> Swift: Hashable.hashValue is deprecated as a protocol requirement
> -----------------------------------------------------------------
>
> Key: THRIFT-5070
> URL: https://issues.apache.org/jira/browse/THRIFT-5070
> Project: Thrift
> Issue Type: Improvement
> Components: Swift - Library
> Reporter: Sophie Lambrakis
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Various components of the swift library (e.g. TEnum, TSet) conform to the Hashable protocol by implementing the `hashValue` method. This is deprecated, and so they should implement `hash(into` instead
--
This message was sent by Atlassian Jira
(v8.3.4#803005)