satanch
satanch
CDCloudflare Developers
Created by satanch on 10/19/2024 in #workers-help
Durable object resets value on each request to Worker
name = "***-wrangler"
main = "index.js"
compatibility_date = "2024-04-03"
kv_namespaces = [
{ binding = "SMVFBIND", id = "***", preview_id = "***" }
]

[[durable_objects.bindings]]
name = "COUNTERS"
class_name = "UserIdCounter"

[[migrations]]
tag = "v1"
new_classes = ["UserIdCounter"]
name = "***-wrangler"
main = "index.js"
compatibility_date = "2024-04-03"
kv_namespaces = [
{ binding = "SMVFBIND", id = "***", preview_id = "***" }
]

[[durable_objects.bindings]]
name = "COUNTERS"
class_name = "UserIdCounter"

[[migrations]]
tag = "v1"
new_classes = ["UserIdCounter"]
full wrangler.toml, maybe smth wrong with compatibility_date?
4 replies
CDCloudflare Developers
Created by satanch on 10/19/2024 in #workers-help
Durable object resets value on each request to Worker
No description
4 replies