We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c9e92d commit 61f92afCopy full SHA for 61f92af
src/http-data-source.ts
@@ -37,7 +37,11 @@ function apolloKeyValueCacheToKeyv(cache: KeyValueCache): Store<string> {
37
async get(key: string) {
38
return cache.get(key);
39
},
40
- clear() {},
+ clear() {
41
+ throw new Error(
42
+ 'clear() method is not supported by apollo key value cache'
43
+ );
44
+ },
45
async delete(key: string) {
46
const result = await cache.delete(key);
47
if (result === false) {
0 commit comments