From 9b87ee082dfefa4036ce189fdeb5e52b3f952bef Mon Sep 17 00:00:00 2001 From: Calvin Cestari Date: Wed, 10 Jul 2024 17:20:17 -0700 Subject: [PATCH] fix: Local cache mutation build error in Swift 6 (apollographql/apollo-ios-dev#417) --- Sources/ApolloAPI/LocalCacheMutation.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/ApolloAPI/LocalCacheMutation.swift b/Sources/ApolloAPI/LocalCacheMutation.swift index f09fed6c8a..91dccd631e 100644 --- a/Sources/ApolloAPI/LocalCacheMutation.swift +++ b/Sources/ApolloAPI/LocalCacheMutation.swift @@ -39,8 +39,6 @@ public extension MutableSelectionSet where Fragments: FragmentContainer { yield &f self.__data._data = f.__data._data } - @available(*, unavailable, message: "mutate properties of the fragment instead.") - set { preconditionFailure("") } } }