Hello team, just a suggestion, maybe if it would be better if we remove the first part cause it some

Hello team, just a suggestion, maybe if it would be better if we remove the first part cause it somehow causes an error with toml reader... or perhaps its just my vscode extension..
Additional properties are not allowed ('kv_namespaces' was unexpected)Even Better TOML


# Here.. remove this part vvv
kv_namespaces = [
  { binding = "<BINDING_NAME1>", id = "<NAMESPACE_ID1>" },
  { binding = "<BINDING_NAME2>", id = "<NAMESPACE_ID2>" }
]  

# Here.. remove this part ^^^
# or

[[kv_namespaces]]
binding = "<BINDING_NAME1>"
id = "<NAMESPACE_ID1>"

[[kv_namespaces]]
binding = "<BINDING_NAME2>"
id = "<NAMESPACE_ID2>"



also.. on the default comments. can this be link be added as well so that not only you have resource for pages.. but also for worker and wrangler.toml configuration as well... https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces
image.png
image.png
image.png
Cloudflare Docs
Use a
wrangler.toml
configuration file to customize the development and deployment setup for your Worker project and other Developer Platform products.
Was this page helpful?