Skip to content

Commit 656fd85

Browse files
gh-action-runnergh-action-runner
authored andcommitted
Squashed 'apollo-ios/' changes from b471acffb..d0f0a87f4
d0f0a87f4 Make dependentKeys in GraphQLResult public. (#758) git-subtree-dir: apollo-ios git-subtree-split: d0f0a87f49e028153839d5714901649b1eaac38a
1 parent b21595a commit 656fd85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/Apollo/GraphQLResult.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ public struct GraphQLResult<Data: RootSelectionSet> {
2020
/// Source of data
2121
public let source: Source
2222

23-
let dependentKeys: Set<CacheKey>?
23+
/// The cache keys for the fields that were included in this response. Custom ``ApolloStoreSubscriber``s can use these
24+
/// keys to understand when changes to the cache would affect the result of a specific response.
25+
public let dependentKeys: Set<CacheKey>?
2426

2527
public init(
2628
data: Data?,

0 commit comments

Comments
 (0)