`getPlatformProxy` should definitely support RPC: https://github.com/cloudflare/workers-sdk/blob/e7c
getPlatformProxy should definitely support RPC: https://github.com/cloudflare/workers-sdk/blob/e7c06d78b14eb89060f431bc4aee8dbc1cc08fa5/fixtures/get-platform-proxy/tests/get-platform-proxy.env.test.ts#L182 I think this is blowing up in the Miniflare magic proxy as the code is trying to send some non serializable object across the wire (the error message comes from devalue which the magic proxy uses to serialize values: https://github.com/Rich-Harris/devalue/blob/0c35c0e7a6a37172c7f049eaae4e7079559ba250/src/stringify.js#L149)
@Jakob Norlin would you be able to spin up a minimal reproduction of the issue?
(if you want please feel free to create a workers-sdk issue and tag me there: https://github.com/cloudflare/workers-sdk/issues/new/choose)
GitHub
Gets the job done when JSON.stringify can't. Contribute to Rich-Harris/devalue development by creating an account on GitHub.
GitHub
Home to Wrangler, the CLI for Cloudflare WorkersĀ® - cloudflare/workers-sdk






