Skip to content

Commit

Permalink
Consider cache.reset a "destructive" method, like evict and modify (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
joshjg authored Oct 13, 2020
1 parent 4775890 commit 243d829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/QueryInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export class QueryInfo {
destructiveMethodCounts.set(cache, 0);
wrapDestructiveCacheMethod(cache, "evict");
wrapDestructiveCacheMethod(cache, "modify");
wrapDestructiveCacheMethod(cache, "reset");
}
}

Expand Down

0 comments on commit 243d829

Please sign in to comment.