cloudflare-docs
cloudflare-docs copied to clipboard
MY_DURABLE_OBJECT => MY_DURABLE_OBJECT_NAMESPACE
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?