You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set no_bundle = true in my wrangler.toml, D1 bindings show up as undefined in my worker, at runtime (aka after wrangler publish), and during wrangler dev.
There's an internal thread on the D1 channel where Glen suggested this should work, so I thought I'd document this here.
I'm happy to delete/move this issue wherever y'all think is appropriate, since these are unsupported/beta features.
The text was updated successfully, but these errors were encountered:
To clarify based on internal discussion:
You cannot use D1 bindings without running through wrangler's bundling. This means that the --no-bundle flag or no_bundle option wrangler.toml mean D1 will not work.
Temporary solution is to throw an error if D1 bindings are used with the no-bundle, which is implemented in #1955.
What version of
Wrangler
are you using?2.1.9
What operating system are you using?
macOS
Describe the Bug
When I set
no_bundle = true
in mywrangler.toml
, D1 bindings show up asundefined
in my worker, at runtime (aka afterwrangler publish
), and duringwrangler dev
.There's an internal thread on the D1 channel where Glen suggested this should work, so I thought I'd document this here.
I'm happy to delete/move this issue wherever y'all think is appropriate, since these are unsupported/beta features.
The text was updated successfully, but these errors were encountered: