workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🚀 Feature Request: Add remote support for getPlatformProxy

Open mackenly opened this issue 11 months ago • 0 comments

Describe the solution

Currently, unstable_dev supports passing in a local flag in the options object, but getPlatformProxy doesn't support it. This means that things like Cloudflare AI, which requires a remote flag, can not be unit-tested using this method. This is a major limitation and prevents testing things that involve features that can't be run locally. Ideally, getPlatformProxy should support remote or non-local features, just like unstable_dev.

Docs ref: https://developers.cloudflare.com/workers/wrangler/api/#getplatformproxy

Discord post

mackenly avatar Feb 26 '24 19:02 mackenly