extra field `ttl` that is not in the validator - cache component
I have setup the cache component in my project, followed all the steps as per the convex docs but getting this error. currently stuck at it.
5 Replies
When you say "cache component" are you referring to the Action Cache component, or the query caching available in the
convex-helpers
package?I am refering to Action Cache component
Looks like a legit bug, args are being passed
api.cache.get
that aren't in the validator: https://github.com/get-convex/action-cache/blob/cf4809a36d69eed60caabf2ab462f16f0367f206/src/component/public.ts#L17
cc/ @ianI thought I fixed that in
0.2.0
- but I see I didn't push the changes. What version did you see this in @hamid1882 ?
Perhaps the 0.1.7 release overrode 0.2.0 as the "latest" so I just published 0.2.1
. That should fix it. Sorry about that!
this is the version which I am currenty using.
Sure I will try to use this version, thankyou