_keehun
_keehun
CDCloudflare Developers
Created by _keehun on 10/13/2024 in #workers-help
Service Binding for DO does not show up in env
I have a worker (WorkerA) that implements a Durable Object (DOA). This is working fine. I can access env.DOA and call functions on the Durable Object just fine. I have a second worker (WorkerB) that declares DOA as a service binding to WorkerA. When I call env.DOA in this second worker, I get an object with type Fetcher rather than DurableObjectNamespace. Is this expected? Has anyone else run into this? Am I holding this wrong?
7 replies