🐛 BUG: service
should be an optional field under [[services]]
#7949
Labels
bug
Something that isn't working
service
should be an optional field under [[services]]
#7949
Which Cloudflare product(s) does this pertain to?
Wrangler
What versions are you using?
3.106.0
What operating system and version are you using?
MacOS
Please provide a link to a minimal reproduction
No response
Describe the Bug
AKA we should support self defined
WorkerEntrypoint
better.Consider this worker
with this
wrangler.toml
:2 problems here:
service = "example-worker"
shouldn't be ncessary since it's in the same worker. it should default to the main worker. but removing that line causes validation to fail.wrangler dev
, I get this outputThat seems wrong, since it connects to itself successfully. Thankfully the worker still functions.
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: