Skip to content

Commit

Permalink
docs: Updates cache policy documentation (#3062)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari authored Jun 5, 2023
1 parent 759a665 commit 6510505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Apollo/ApolloClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public enum CachePolicy: Hashable {
case fetchIgnoringCacheData
/// Always fetch results from the server, and don't store these in the cache.
case fetchIgnoringCacheCompletely
/// Return data from the cache if available, else return nil.
/// Return data from the cache if available, else return an error.
case returnCacheDataDontFetch
/// Return data from the cache if available, and always fetch results from the server.
case returnCacheDataAndFetch
Expand Down

0 comments on commit 6510505

Please sign in to comment.