trpc-sveltekit icon indicating copy to clipboard operation
trpc-sveltekit copied to clipboard

Latest version of tRPC v11 HTTP resolver has been rewritten with Fetch API #169

Open KATT opened this issue 9 months ago • 1 comments

Hey there @icflorescu,

We've just updated our resolveResponse-function to be based on the Fetch API rather than our bastardization.

I'm opening this issue mainly to let you know

We have some helper functions to convert a Node http.IncomingMessage to a Response-object.

I think this is the last breaking change for adapters prior to 11.0.0

To guide you, you can have a look at either the express adapter, the fetch adapter, or the Fastify adapter.

Don't hesitate to pop into our Discord and @ me if it proves itself tricky, we're happy to help out or make some tweaks to it to make it easier to adopt.

Greatly appreciate the work you're doing for the tRPC community 🙇

KATT avatar Apr 30 '24 20:04 KATT

for the moment I got it working by following this guide

cellulosa avatar Jun 01 '24 14:06 cellulosa