effector / effector/farfetched
Cache key serialization doesn't process js Date
Open
scope:core
- Dominant language
- TypeScript
- Stars
- 221
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
Cache key serialization transform js Date objects as {}
Applicable for both humanReadableKeys flag states
```ts
cache(cachedQuery, {
adapter: inMemoryCache({ observability: { hit, miss } }),
staleAfter: "1m",
humanReadableKeys: true,
});
cachedQuery.start(new Date(100))
cachedQuery.start(new Date(200)) // return cached result of query above
```

Contributor guide
Assessment
This issue has not been assessed yet.