Skip to content

Commit d0f0a87

Browse files
chrsmysgh-action-runner
authored andcommitted
Make dependentKeys in GraphQLResult public. (apollographql/apollo-ios-dev#758)
1 parent b471acf commit d0f0a87

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)