Skip to content

Commit

Permalink
fix: Bug with AnyHashable coercion for non-iOS platforms (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
VMLe authored Oct 24, 2024
1 parent 8694c4b commit d430e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo-ios/Sources/ApolloAPI/DataDict.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ extension DataDict {
/// we need to do some additional unwrapping and casting of the values to avoid crashes and other
/// run time bugs.
public static let _AnyHashableCanBeCoerced: Bool = {
if #available(iOS 14.5, *) {
if #available(iOS 14.5, macOS 11.3, tvOS 14.5, watchOS 7.4, *) {
return true
} else {
return false
Expand Down

0 comments on commit d430e83

Please sign in to comment.