HardAtWork
12/15/2022, 10:25 PMHardAtWork
12/15/2022, 10:26 PMbrett
12/15/2022, 10:28 PMbrett
12/16/2022, 4:31 PMlocationHint
is ready if folks want to try it out https://developers.cloudflare.com/workers/runtime-apis/durable-objects/#providing-a-location-hintalbert
12/16/2022, 5:39 PMnamespace.jurisdiction("eu").idFromName("foo")
, then you're basically just creating a "sub-namespace". It's more clear to have a completely separate namespace for a jurisdiction.albert
12/16/2022, 5:48 PMUnsmart | Tech debt
12/16/2022, 5:50 PMalbert
12/16/2022, 5:50 PMUnsmart | Tech debt
12/16/2022, 5:54 PMbrett
12/16/2022, 6:21 PMbrett
12/16/2022, 6:21 PMbrett
12/16/2022, 6:25 PMNS.jurisdiction("foo")
as a "subnamespace" as noted above. I think that helps make it clear that objects are different. And we should probably update the documentation to say that IDs are unique within a namespacebrett
12/16/2022, 6:27 PMUnsmart | Tech debt
12/16/2022, 6:31 PMNS.jurisdiction("foo").idFromName("name")
brett
12/16/2022, 6:31 PMalbert
12/16/2022, 7:39 PMckoeninger
12/16/2022, 7:53 PMbrett
12/16/2022, 7:55 PMalbert
12/16/2022, 8:08 PMidFromName("brett")
is called, there should either be an error or the object should be created in the jurisdiction that was specified the first time idFromName("brett")
was called.albert
12/16/2022, 8:09 PMbrett
12/16/2022, 8:10 PMbrett
12/16/2022, 8:10 PMalbert
12/16/2022, 8:11 PMbrett
12/16/2022, 8:11 PM${jurisdiction}/${originalName}
for their object namesbrett
12/16/2022, 8:12 PMbrett
12/16/2022, 8:13 PMbrett
12/16/2022, 8:13 PMbrett
12/16/2022, 8:13 PMbrett
12/16/2022, 8:17 PM