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•3mo ago
Message Not Public
Sign In & Join Server To View
hfcRed
hfcRed•3mo ago
Why not D1 or KV
Walshy
Walshy•3mo ago
Snippets have no bindings access. They're meant for lightweight use cases
w3bcode
w3bcode•3mo ago
Anyone getting error with wrangler deploy command, I am latest version 3.79.0
workers.api.error.unknown [code: 10013]
Walshy
Walshy•3mo ago
What's your account ID?
w3bcode
w3bcode•3mo 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•3mo 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•3mo ago
It still works with Pages which is what the template is designed for AFAIK
texan
texan•3mo ago
Hey w3b, we discovered a bug related to account owned tokens this morning. The team is looking into it, thanks!
Focux
Focux•3mo ago
oh, i thought that pnpm create cloudflare@latest web --framework=remix --experimental bootstrapped a workers project
Isaac McFadyen
Isaac McFadyen•3mo ago
Apologies - you might be right 😅
Focux
Focux•3mo ago
haha no problem
Cole
Cole•3mo ago
Is there a way in a worker (js) to get the current version/deployment id?
Chaika
Chaika•3mo 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•3mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server