-
Hello, The docs shows a demo of a I imagine this is because of the response's content type triggering different parsing mechanisms but still wondering if it's by design or if we're not supposed to return blobs directly. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 14 comments 3 replies
-
It should works, I will check if it a bug I will fix |
Beta Was this translation helpful? Give feedback.
-
Hey @strblr are you using |
Beta Was this translation helpful? Give feedback.
-
The latest version (beta 1.0.0) the algorithm has been changed, please make sure every @orpc packages have the same version, rm node_modules for sure |
Beta Was this translation helpful? Give feedback.
-
I'm using the fetch adapter with Bun. I'm on ^0.47.0 everywhere. |
Beta Was this translation helpful? Give feedback.
-
Using the tanstack query integration, if it matters |
Beta Was this translation helpful? Give feedback.
-
Please upgrade to latest version 0.48 or beta, and try again, I cann't create your errors, Can you help me create an MVP |
Beta Was this translation helpful? Give feedback.
-
Just inspected the request, the response has content type |
Beta Was this translation helpful? Give feedback.
-
I'll update and keep you posted |
Beta Was this translation helpful? Give feedback.
-
Fails on 0.48 and beta 1. I can try and make a demo. Do you have a template by any chance? |
Beta Was this translation helpful? Give feedback.
-
https://codesandbox.io/p/sandbox/silly-nobel-lkhcgx Didn't manage to make the client talk to the server. If you wanna give it a try, I did most of the boilerplate. |
Beta Was this translation helpful? Give feedback.
-
Config your CORSPlugin like this const handler = new RPCHandler(router, {
plugins: [
new CORSPlugin({
exposeHeaders: ['Content-Disposition'],
}),
],
}); |
Beta Was this translation helpful? Give feedback.
-
Thanks, as a temporary fix I'm just returning |
Beta Was this translation helpful? Give feedback.
-
Follow this: #269 |
Beta Was this translation helpful? Give feedback.
-
Should work in v1.0.0-beta.2 |
Beta Was this translation helpful? Give feedback.
Should work in v1.0.0-beta.2