mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-19 18:45:15 +02:00
Fixes #1370 Object.values() produces order-dependent cache keys because the order of values depends on the order of keys in the object. This causes the same logical query to produce different cache keys when the parameter object has keys in different orders. Added stableEntries() helper that: 1. Filters out undefined values 2. Sorts entries by key name 3. Returns flat array of [key, value] pairs This ensures cache key identity is stable regardless of parameter object key order. Co-authored-by: guangyang1206 <guangyang1206@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cache-keys.ts | ||
| client.ts | ||
| query-client.provider.tsx | ||