-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: caches work on unknown data types
the previous generic typing caused a situation where a single cache instance could not be reused on different cachified calls operating on varying data types This was never a design goal and happened as a over-optimization when implementing against tests instead of a rl-app 😅 fix: #5 BREAKING CHANGE: The `Cache` type is not generic anymore and always uses `unknown` for values You might need to adjust your cache implementations and caches to now work on unknown data types. Typescript should inform you where. Nothing to be done when you only used the build-in cache adapters.
- Loading branch information
Showing
7 changed files
with
61 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.