cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

MY_DURABLE_OBJECT => MY_DURABLE_OBJECT_NAMESPACE

Open irvinebroque opened this issue 4 months ago • 2 comments

It is confusing to say that the binding name is MY_DURABLE_OBJECT — singular — and then call methods on it in order to....get a single Durable Objects instance.

I don't think this creates the correct mental model, makes it seem like MY_DURABLE_OBJECT is a single durable object, instead of what it is — a namepaces of Durable Objects — plural.

Something I am missing as to why we don't use this language today?

irvinebroque avatar Jun 06 '25 20:06 irvinebroque