does snippets support kv? If not is there any plan to add this support?

does snippets support kv? If not is there any plan to add this support?
15 Replies
Unknown User
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
hfcRed
hfcRed•2mo ago
Why not D1 or KV
Walshy
Walshy•2mo ago
Snippets have no bindings access. They're meant for lightweight use cases
w3bcode
w3bcode•2mo ago
Anyone getting error with wrangler deploy command, I am latest version 3.79.0
workers.api.error.unknown [code: 10013]
Walshy
Walshy•2mo ago
What's your account ID?
w3bcode
w3bcode•2mo ago
9c508e2e1d1c6d075d774819cf38176c I was using it with Cloudflare account token template settings by exposing it to environment but getting api errors, so I logged in with wrangler login and deployed. It worked that way
Focux
Focux•2mo ago
is there any template for running remix spa mode in workers? If the _headers file doesn't work anymore, would be good to remove it from the template, otherwise, it's a bit confusing.
Isaac McFadyen
Isaac McFadyen•2mo ago
It still works with Pages which is what the template is designed for AFAIK
texan
texan•2mo ago
Hey w3b, we discovered a bug related to account owned tokens this morning. The team is looking into it, thanks!
Focux
Focux•2mo ago
oh, i thought that pnpm create cloudflare@latest web --framework=remix --experimental bootstrapped a workers project
Isaac McFadyen
Isaac McFadyen•2mo ago
Apologies - you might be right 😅
Focux
Focux•2mo ago
haha no problem
Cole
Cole•2mo ago
Is there a way in a worker (js) to get the current version/deployment id?
Chaika
Chaika•2mo ago
Cloudflare Docs
Version metadata | Cloudflare Workers docs
Exposes Worker version metadata (versionID and versionTag). These fields can be added to events emitted from the Worker to send to downstream observability systems.
Unknown User
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server