Skip to content

Commit

Permalink
fix: Disfavour deprecated watch function (apollographql/apollo-ios-…
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari authored and gh-action-runner committed Aug 26, 2024
1 parent 24a43a4 commit 05947e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Apollo/ApolloClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ extension ApolloClient: ApolloClientProtocol {

extension ApolloClient {

@_disfavoredOverload
@available(*, deprecated,
renamed: "watch(query:cachePolicy:refetchOnFailedUpdates:context:callbackQueue:resultHandler:)")
public func watch<Query: GraphQLQuery>(
Expand Down

0 comments on commit 05947e5

Please sign in to comment.