cloudflare / cloudflare/cloudflare-docs
missing details for multi-worker DO script_name settings
- Dominant language
- MDX
- Stars
- 5.2k
- Forks
- 16.7k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 337
Description
### Existing documentation URL(s)
- https://developers.cloudflare.com/workers/testing/miniflare/core/multiple-workers
- https://developers.cloudflare.com/workers/testing/miniflare/storage/durable-objects
### What changes are you suggesting?
This section: https://developers.cloudflare.com/workers/testing/miniflare/core/multiple-workers/#durable-objects
Points to for more details (within the context of multi-worker and `script_name`): https://developers.cloudflare.com/workers/testing/miniflare/storage/durable-objects/#using-a-class-exported-by-another-script
The latter link however redirects to first one, practically looping back.
We should fix this incorrect loop and potentially offer more details/an example on how to use `script_name`.
It does seem like this information was present in the old miniflare md docs but was never ported to the Cloudflare docs: https://github.com/cloudflare/miniflare/blob/master/docs/src/content/storage/durable-objects.md#using-a-class-exported-by-another-script
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.