itty-durable icon indicating copy to clipboard operation
itty-durable copied to clipboard

Get object id method in createDurable interface

Open 4x4notfound opened this issue 3 years ago • 0 comments

Why

Having a default method or property on the DO proxy to reflect the DO object id is useful

What

Expose the object id in a property or method. Example

myDo.$.id

or

myDo.getId()

4x4notfound avatar Jan 03 '23 20:01 4x4notfound