Skip to content

Commit b7f4c2f

Browse files
author
Grant Kamin
committed
Make GraphQLQueryWatcher Query Public
Allow the using app to access the query on the watcher.
1 parent f0a7f20 commit b7f4c2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Apollo/GraphQLQueryWatcher.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Dispatch
33
/// A `GraphQLQueryWatcher` is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.
44
public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
55
weak var client: ApolloClientProtocol?
6-
let query: Query
6+
public let query: Query
77
let resultHandler: GraphQLResultHandler<Query.Data>
88

99
private var context = 0

0 commit comments

Comments
 (0)