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
update request handling in resolveHttpResponse to follow Fetch API #1853
Comments
Merged
Closed
KATT
changed the title
update request handling in resolveHttpResponse to follow Fetch API
[TRP-66] update request handling in resolveHttpResponse to follow Fetch API
May 25, 2023
KATT
changed the title
[TRP-66] update request handling in resolveHttpResponse to follow Fetch API
update request handling in resolveHttpResponse to follow Fetch API
May 25, 2023
Closed
3 tasks
5 tasks
This was referenced Apr 26, 2024
Closed
This issue has been locked because we are very unlikely to see comments on closed issues. If you are running into a similar issue, please create a new issue. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
follow up for #1852
We should change the input to
resolveHTTPResponse
to accept Fetch API objects by default. All other handlers should then be updated to map to the Fetch API.Right now the Fetch adapter has to adapt objects to what tRPC accepts:
trpc/packages/server/src/adapters/fetch/fetchRequestHandler.ts
Lines 23 to 28 in 456aad6
TRP-66
Funding
The text was updated successfully, but these errors were encountered: