wrangler config env queues not working
Issue documented here https://github.com/cloudflare/workers-sdk/issues/4351.
I created the issue whilst Discord was failing to laid.
GitHub
Issues · cloudflare/workers-sdk
⛅️ Home to Wrangler, the CLI for Cloudflare Workers® - Issues · cloudflare/workers-sdk
5 Replies
This is a quirk of TOML - tables don't inherit tables and a table is the
[foo]
and [[foo]]
syntax.
You want to declare it like [[env.dev.queues.producers]]
wow
Thanks @kian that indeed seems to work
Alternatively you could do
or
Ok
You get the idea - TOML has two ways of declaring a table (and array of tables) and only one of them has inheritance.