Skip to content

Commit 3fc6f10

Browse files
Merge pull request #750 from mikaelbartlett/feature/expose-GraphQLQueryWatcher-init-as-public
Expose GraphQLQueryWatcher init method
2 parents 340a5c8 + 6e5106e commit 3fc6f10

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/Apollo/GraphQLQueryWatcher.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, Apollo
1818
/// - client: The client protocol to pass in
1919
/// - query: The query to watch
2020
/// - resultHandler: The result handler to call with changes.
21-
init(client: ApolloClientProtocol,
22-
query: Query,
23-
resultHandler: @escaping GraphQLResultHandler<Query.Data>) {
21+
public init(client: ApolloClientProtocol,
22+
query: Query,
23+
resultHandler: @escaping GraphQLResultHandler<Query.Data>) {
2424
self.client = client
2525
self.query = query
2626
self.resultHandler = resultHandler

0 commit comments

Comments
 (0)