We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c16605d commit 17fd83cCopy full SHA for 17fd83c
lib/OnyxCache.ts
@@ -483,6 +483,8 @@ class OnyxCache {
483
const needsPrefixCheck = !memberKeys;
484
485
for (const key of keysToScan) {
486
+ // When using the fallback path (scanning all storageKeys instead of the indexed
487
+ // forward lookup), skip keys that don't belong to this collection.
488
if (needsPrefixCheck && OnyxKeys.getCollectionKey(key) !== collectionKey) {
489
continue;
490
}
0 commit comments