Skip to content

Commit 2a8efc6

Browse files
committedAug 7, 2020
Skip response cache for fetched queries
1 parent 0959096 commit 2a8efc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Sources/Relay/QueryResource.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class QueryResource {
5757

5858
public func prepare(
5959
operation: OperationDescriptor,
60-
cacheConfig: CacheConfig = .init(),
60+
cacheConfig: CacheConfig = .init(force: true),
6161
fetchPolicy: FetchPolicy = .storeOrNetwork,
6262
cacheKeyBuster: Any? = nil
6363
) -> AnyPublisher<Result<QueryResult, Error>?, Never> {

0 commit comments

Comments
 (0)
Please sign in to comment.