feat: implement service bindings + local mode `dev`
See original GitHub issueService bindings ([services]
) works with remote mode in wrangler dev, we should figure out how to do the same for local mode. This is part of the broader picture for multi worker, but filing this as a followup for https://github.com/cloudflare/wrangler2/pull/906 anyway.
Issue Analytics
- State:
- Created a year ago
- Reactions:5
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to bind services in wrangler.toml? - Cloudflare Community
When trying to add a service binding through the dashboard, it says If this Worker is managed by Wrangler, add these variables to...
Read more >Microsoft Privacy Statement
When a customer engages with Microsoft for professional services, we collect the name and contact data of the customer's designated point of contact...
Read more >Release Notes | Internet Computer Home
feat : deploy NNS canisters. A developer is now able to install NNS canisters, including back end canisters such as ledger and governance,...
Read more >ContextActionService - Roblox Creator Documentation
To see a list of actions and their bound inputs, you can inspect the "Action Bindings" tab in the Developer Console (F9 while...
Read more >MySQL 8.0 Reference Manual :: 5.1.8 Server System Variables
Use REPAIR TABLE tbl_name QUICK . ft_query_expansion_limit. Command-Line Format, --ft-query-expansion-limit=#.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @chrstntdd, would you like to try the solution we just landed in
wrangler@beta
? You simply have to runwrangler dev --local
on both workers in different terminal tabs, and they should automatically bind to each other.Ah yeah, apologies for leaving that bit out. It’s not too involved at the moment, but it goes like this:
And the usage within the application like so: