Skip to content

Commit d04ee04

Browse files
committed
Remove explanation of old (wrong) behaviour
1 parent 0cca71a commit d04ee04

File tree

1 file changed

+0
-4
lines changed
  • packages/query-db-collection/src

1 file changed

+0
-4
lines changed

packages/query-db-collection/src/query.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,10 +1201,6 @@ export function queryCollectionOptions(
12011201
* Updates the query cache with new items for ALL active query keys.
12021202
* This is critical for on-demand mode where multiple query keys may exist
12031203
* (each with different predicates).
1204-
*
1205-
* Previously this only updated the base query key, causing direct writes
1206-
* to go to the wrong cache entry when using computed/function query keys
1207-
* or static keys with predicates in on-demand mode.
12081204
*/
12091205
const updateCacheData = (items: Array<any>): void => {
12101206
// Get all active query keys from the hashToQueryKey map

0 commit comments

Comments
 (0)