You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explain how to do local dev when you have DOs with a framework (#21198)
* mroe details on DO local dev issue
* some clarifications
* jsonc
* move to get platform proxy section
* Update api.mdx
Co-authored-by: Carmen Popoviciu <[email protected]>
* Update api.mdx
Co-authored-by: Carmen Popoviciu <[email protected]>
* Update api.mdx
Co-authored-by: Carmen Popoviciu <[email protected]>
* remove anchor link
* Update src/content/docs/workers/wrangler/api.mdx
Co-authored-by: Carmen Popoviciu <[email protected]>
* revert any changes to DO page
---------
Co-authored-by: Carmen Popoviciu <[email protected]>
Wrangler offers APIs to programmatically interact with your Cloudflare Workers.
14
22
@@ -360,27 +368,6 @@ The bindings supported by `getPlatformProxy` are:
360
368
361
369
-[KV namespace bindings](/kv/api/)
362
370
363
-
-[Durable Object bindings](/durable-objects/api/)
364
-
365
-
- To use a Durable Object binding with `getPlatformProxy`, always [specify a `script_name`](/workers/wrangler/configuration/#durable-objects) and have the target Worker run in a separate terminal via [`wrangler dev`](/workers/wrangler/commands/#dev).
366
-
367
-
For example, you might have the following file read by `getPlatformProxy`.
368
-
369
-
<WranglerConfig>
370
-
371
-
```toml
372
-
[[durable_objects.bindings]]
373
-
name = "MyDurableObject"
374
-
class_name = "MyDurableObject"
375
-
script_name = "my-worker"
376
-
```
377
-
378
-
</WranglerConfig>
379
-
380
-
In order for this binding to be successfully proxied by `getPlatformProxy`, a worker named `my-worker`
381
-
with a Durable Object declaration using the same `class_name` of `"MyDurableObject"` must be run
0 commit comments