Skip to content

Commit

Permalink
fix: Bug with AnyHashable coercion for non-iOS platforms (apollograph…
Browse files Browse the repository at this point in the history
  • Loading branch information
VMLe authored and gh-action-runner committed Oct 24, 2024
1 parent 9d8aafb commit 7918704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 7918704

Please sign in to comment.