diff --git a/Sources/Apollo/ApolloClient.swift b/Sources/Apollo/ApolloClient.swift index 985beb3db9..362f11644e 100644 --- a/Sources/Apollo/ApolloClient.swift +++ b/Sources/Apollo/ApolloClient.swift @@ -86,7 +86,7 @@ extension ApolloClient: ApolloClientProtocol { } @discardableResult public func fetch(query: Query, - cachePolicy: CachePolicy = .returnCacheDataElseFetch, + cachePolicy: CachePolicy = .default, contextIdentifier: UUID? = nil, queue: DispatchQueue = .main, resultHandler: GraphQLResultHandler? = nil) -> Cancellable { @@ -99,7 +99,7 @@ extension ApolloClient: ApolloClientProtocol { } public func watch(query: Query, - cachePolicy: CachePolicy = .returnCacheDataElseFetch, + cachePolicy: CachePolicy = .default, callbackQueue: DispatchQueue = .main, resultHandler: @escaping GraphQLResultHandler) -> GraphQLQueryWatcher { let watcher = GraphQLQueryWatcher(client: self,