Conviley
Conviley2w ago

Blob as response tRPC v.11

Hi! According to https://trpc.io/blog/announcing-trpc-v11#formdata--non-json-content-types-support it should now be possible to return blobs. How? I have not been able to make it work and i have not found any blob response examples. Of note is that we are also using the express adapter from @trpc/server/adapters/express Thanks!
Announcing tRPC v11 | tRPC
Although tRPC v11 has been production-ready for a long time via the @next tag, we've gotten kinda addicted to adding new features without being sticklers to semantic versioning. Today, we're excited to finally be ripping off the band-aid and announcing the official release of tRPC v11!
1 Reply
Nick
Nick2w ago
Hi there, it's not currently possible to return blobs, these docs are referring to blobs as inputs It's one we'd like to do in the future though

Did you find this page helpful?