Skip to content

Commit

Permalink
fix: Local cache mutation build error in Swift 6 (apollographql/apoll…
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari authored and gh-action-runner committed Jul 11, 2024
1 parent 4bd7499 commit fb19209
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/ApolloCodegenLib/Templates/SelectionSetTemplate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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() }"
Expand Down

0 comments on commit fb19209

Please sign in to comment.