You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: [GH-177] forward all cache options to key value cache (#185)
Added support to the `RESTDatasource` to be able to specify a custom
cache set options type. The cache set options may need to be
customized to include additional set options supported by the
underlying key value cache implementation.
---------
Co-authored-by: Hisham Ali <[email protected]>
Added support to the RESTDatasource to be able to specify a custom cache set options type. The cache set options may need to be customized to include additional set options supported by the underlying key value cache implementation.
6
+
7
+
For example, if the [InMemoryLRUCache](https://github.com/apollographql/apollo-utils/blob/main/packages/keyValueCache/src/InMemoryLRUCache.ts) is being used to cache HTTP responses, then `noDisposeOnSet`, `noUpdateTTL`, etc cache options can be provided to the LRU cache:
0 commit comments