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 9556576 commit d2768d3Copy full SHA for d2768d3
packages/query-core/src/utils.ts
@@ -241,7 +241,7 @@ export function partialMatchKey(a: any, b: any): boolean {
241
}
242
243
if (a && b && typeof a === 'object' && typeof b === 'object') {
244
- return !Object.keys(b).some((key) => !partialMatchKey(a[key], b[key]))
+ return Object.keys(b).every((key) => partialMatchKey(a[key], b[key]))
245
246
247
return false
0 commit comments