_keehun
_keehun
CDCloudflare Developers
Created by _keehun on 10/13/2024 in #workers-help
Service Binding for DO does not show up in env
Ahh, yes. I just checked with a deploy, and it worked. Thanks!
7 replies
CDCloudflare Developers
Created by _keehun on 10/13/2024 in #workers-help
Service Binding for DO does not show up in env
No description
7 replies
CDCloudflare Developers
Created by _keehun on 10/13/2024 in #workers-help
Service Binding for DO does not show up in env
I'm trying to bind to its DO. Let me give that a try.
7 replies
CDCloudflare Developers
Created by _keehun on 10/13/2024 in #workers-help
Service Binding for DO does not show up in env
I wanted to be able to keep WorkerA behind ZT but allow WorkerB outside of it
7 replies
CDCloudflare Developers
Created by _keehun on 10/13/2024 in #workers-help
Service Binding for DO does not show up in env
Oh, maybe this is not yet supported? https://github.com/cloudflare/workers-sdk/issues/5918
7 replies
CDCloudflare Developers
Created by _keehun on 10/13/2024 in #workers-help
Service Binding for DO does not show up in env
In WorkerA's wrangler.toml, I have:
[[durable_objects.bindings]]
name = "DOA"
class_name = "MyDoClass"

[[migrations]]
tag = "v1"
new_sqlite_classes = ["MyDoClass"]
[[durable_objects.bindings]]
name = "DOA"
class_name = "MyDoClass"

[[migrations]]
tag = "v1"
new_sqlite_classes = ["MyDoClass"]
in WorkerB's wrangler.toml, I have:
services = [{ binding = "DOA", service = "WorkerA" }]
services = [{ binding = "DOA", service = "WorkerA" }]
This seems like it's only for HTTP binding? Do I need to do something else to have an RPC binding?
7 replies