trpc-sveltekit
trpc-sveltekit copied to clipboard
Latest version of tRPC v11 HTTP resolver has been rewritten with Fetch API #169
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 🙇
for the moment I got it working by following this guide