We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it intentional that it has to be string? It's not mentioned in the docs but couldn't get the cache to work with an integer key.
The text was updated successfully, but these errors were encountered:
^bump
Sorry, something went wrong.
Hi, internally the key is used as an object key.
The data object will look like:
data = { "yourkey": { "v": "the cached value", "t": 0 // the ttl } }
This is the reason why a integer is not possible. I created a separate Issue to validate the key's type.
Also see this code position
I hope this helps ;-)
Will be fixed by #48
mpneuried
No branches or pull requests
Is it intentional that it has to be string? It's not mentioned in the docs but couldn't get the cache to work with an integer key.
The text was updated successfully, but these errors were encountered: