You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle NaN and function types in query cache normalization
NaN and functions are not properly serialized by JSON.stringify:
- NaN becomes null
- Functions are omitted entirely
This caused cache collisions where { age: NaN } and { age: null }
would share the same cache key, bypassing validation for NaN.
Fix by adding special markers for these types before serialization.
0 commit comments