We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cca71a commit d04ee04Copy full SHA for d04ee04
packages/query-db-collection/src/query.ts
@@ -1201,10 +1201,6 @@ export function queryCollectionOptions(
1201
* Updates the query cache with new items for ALL active query keys.
1202
* This is critical for on-demand mode where multiple query keys may exist
1203
* (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.
1208
*/
1209
const updateCacheData = (items: Array<any>): void => {
1210
// Get all active query keys from the hashToQueryKey map
0 commit comments