From f0f4f894c0326d7e025da6986eb7218c48fffa3a Mon Sep 17 00:00:00 2001 From: gh-action-runner Date: Thu, 11 Jul 2024 00:21:08 +0000 Subject: [PATCH] Squashed 'apollo-ios-codegen/' changes from 4bd74995..fb192097 fb192097 fix: Local cache mutation build error in Swift 6 (apollographql/apollo-ios-dev#417) git-subtree-dir: apollo-ios-codegen git-subtree-split: fb1920971dea2158458bd2b1896653edbf934594 --- Sources/ApolloCodegenLib/Templates/SelectionSetTemplate.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/ApolloCodegenLib/Templates/SelectionSetTemplate.swift b/Sources/ApolloCodegenLib/Templates/SelectionSetTemplate.swift index 686c22a0f..85b5f1174 100644 --- a/Sources/ApolloCodegenLib/Templates/SelectionSetTemplate.swift +++ b/Sources/ApolloCodegenLib/Templates/SelectionSetTemplate.swift @@ -559,8 +559,6 @@ struct SelectionSetTemplate { "if let newData = f?.__data { __data = newData }", else: "__data = f.__data" ) } - @available(*, unavailable, message: "mutate properties of the fragment instead.") - set { preconditionFailure() } } """, else: " _toFragment() }"