Passing `environment` to platformProxy(@astro/cloudflare) doesn't work as expected
Please find my setup in the screenshots.
I expect to get stag D1 Db to be bound with worker when I run
astro dev, but right now non of the d1 db is being detected and bound.


4 Replies
PS: Astro folks told me that they pass
platformProxy as is(+ enabled flag) to getPlatformProxy so its the issue with workers SDKFor the sake of clarity, did Astro folks mention/point to any specific issues on GitHub? Also, I would recommend taking a look and seeing what’s visible on environment variables generally, see whats already there
Not sure if you’ve already done this, but check to see if changing wrangler/workers sdk versions affects things
no they asked me to create issue for wrangler sdk
i am using latest wrangler
see last conv here https://github.com/cloudflare/workers-sdk/pull/9840
GitHub
fix experimental remoteBindings flag not being properly propagated ...
The changes here address the fact that experimental remoteBindings flag that user can set in their getPlatformProxy call is currently not being properly propagated, causing most of the bindings not...