Skip to content

Commit 7918704

Browse files
VMLegh-action-runner
authored and
gh-action-runner
committed
fix: Bug with AnyHashable coercion for non-iOS platforms (apollographql/apollo-ios-dev#517)
1 parent 9d8aafb commit 7918704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ApolloAPI/DataDict.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ extension DataDict {
174174
/// we need to do some additional unwrapping and casting of the values to avoid crashes and other
175175
/// run time bugs.
176176
public static let _AnyHashableCanBeCoerced: Bool = {
177-
if #available(iOS 14.5, *) {
177+
if #available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) {
178178
return true
179179
} else {
180180
return false

0 commit comments

Comments
 (0)