Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KATT opened this issue Apr 30, 2024 · 3 comments
Open

Comments

@KATT
Copy link

KATT commented Apr 30, 2024

Hey there @wobsoriano,

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 your work you're doing for the tRPC community 🙇

@wobsoriano
Copy link
Owner

Thank you @KATT! Appreciate the update.

Will definitely be ready before v11.0.0.

@xaoseric
Copy link

@KATT @wobsoriano any chance that nuxt could be added as an official adapter for the v11.0.0 release? It looks like the v11 branch doesn't support 11.0.0-rc.467 yet, would love to see the adapter merged in as an official adapter.

@wobsoriano
Copy link
Owner

FYI guys you can try tRPC v11 with

npm install [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants