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

Feature request: Add Fetch API adapter aka "Web Platform support" #1374

Closed
esamattis opened this issue Jan 9, 2022 · 3 comments · Fixed by #1852
Closed

Feature request: Add Fetch API adapter aka "Web Platform support" #1374

esamattis opened this issue Jan 9, 2022 · 3 comments · Fixed by #1852

Comments

@esamattis
Copy link
Contributor

Eg. support for the Request and Response objects specified in the Fetch Standard. It would allow deploying to Remix routes for example.

Unfortunately I don't have the time to work an a proper PR but I created a userland adapter that can be used with Remix:

https://github.com/valu-digital/npm-packages/tree/master/packages/trpc-fetch-api-adapter

The implementation is probably very naive but at least it is some short of starting point.

@esamattis esamattis changed the title Feature request: Add Fetch API aka "Web Platform support" Feature request: Add Fetch API adapter aka "Web Platform support" Jan 9, 2022
@KATT
Copy link
Member

KATT commented Jan 10, 2022

Yes, I actually started this refactoring once, should be picked up for sure!

@sachinraja sachinraja linked a pull request May 1, 2022 that will close this issue
@sachinraja
Copy link
Member

forgot to close this, added in the next branch - #1852

@github-actions
Copy link

github-actions bot commented Oct 4, 2022

This issue has been locked because it had no new activity for 14 days. If you are running into a similar issue, please create a new issue. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants