Conversation
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
18d1593 to
c68e12a
Compare
🦋 Changeset detectedLatest commit: 34d24b0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the Depending on your changes, running Notes:
|
|
Maybe @kentonv will have some comments |
There was a problem hiding this comment.
What does id mean in this binding.
I guess my question is, "What does it mean to have multiple Worker Loaders?"
There was a problem hiding this comment.
Miniflare should randomly-generate this ID instead. It turns out the edge runtime doesn't support multiple bindings to the same worker loader namespace so there's not much reason to expose this.
There was a problem hiding this comment.
Oh wait, no need to randomly generate. It can just be left null (not empty string, but null/omitted), in which case workerd will do the right thing.
There was a problem hiding this comment.
Will it be needed for production deployments? In other words can we just remove it from wrangler.jsonc altogether? Or just ignore it in local dev?
There was a problem hiding this comment.
Production does not support this option at all, that's why I recommend removing it.
There was a problem hiding this comment.
Not accessible from getPlatformProxy()?
|
Approved as this is good as it stands but I do think it would be nice to support |
|
I'd love to see this merged and released soon as I need it for a project. :) |
|
Let's talk about this before landing it? Just want to make sure we agree on the api and how we're going to roll it out. @kentonv you can use this locally immediately with the prerelease builds |
threepointone
left a comment
There was a problem hiding this comment.
soft blocking just so we can chat about this
|
@threepointone this isn't a stable release—it's going out as an unsafe binding. We can (and probably will) change the API/binding config before graduating to a stable binding |
01df07d to
b3b5040
Compare
|
Not sure if this is a problem in this PR or pre-existing, but I noticed that when I run The binding name and type are swapped in the display -- it should say: (The binding seems to work, though. This is just a display problem.) |
36135ca to
d06fde9
Compare
902f092 to
34d24b0
Compare
Support cloudflare/workerd#4383