workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

Documentation: Configuration page should include information about optional fields and default values

Open jkup opened this issue 3 years ago • 2 comments

What version of Wrangler are you using?

2.0.2

What operating system are you using?

Mac

Describe the Bug

Happy to discuss more about this but I think it would be nice if https://developers.cloudflare.com/workers/wrangler/configuration/ showed subfields that are optional and/or what the default value would be?

I don't mean for top-level fields necessarily but where we take objects and they have optional sub-fields? Like preview_id for kv_namespaces or environment under services?

jkup avatar Jun 08 '22 14:06 jkup

probably should be reported against the docs repo: cloudflare/cloudflare-docs

sbquinlan avatar Jul 12 '22 02:07 sbquinlan

A WIP concept: https://kian-wrangler-configuration.cloudflare-docs-github.pages.dev/workers/wrangler/configuration/

KianNH avatar Jul 12 '22 21:07 KianNH

I think we can now close this with:

  • https://github.com/cloudflare/cloudflare-docs/pull/5150

Thanks @KianNH !

cameron-robey avatar Sep 30 '22 13:09 cameron-robey