Skip to content

Commit

Permalink
Disfavour deprecated watch function
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari committed Aug 23, 2024
1 parent 67c8e28 commit b666f33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apollo-ios/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 b666f33

Please sign in to comment.