-
Notifications
You must be signed in to change notification settings - Fork 731
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a leak related to use of function used in a closure (apollographq…
- Loading branch information
1 parent
2ab4500
commit 7d0c7e9
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is introducing a breaking change and a compilation error -
Apollo/Sources/Apollo/ApolloStore.swift:208:22: error: reference to property 'cache' in closure requires explicit use of 'self' to make capture semantics explicit
Should be:
return try self.cache.loadRecords(forKeys: batchLoad)
when compiling with Xcode 14.1