Skip to content

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

Closed

Description

@esamattis

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.

Activity

  1. changed the title [-]Feature request: Add Fetch API aka "Web Platform support"[/-] [+]Feature request: Add Fetch API adapter aka "Web Platform support"[/+] on Jan 9, 2022
  2. KATT commented on Jan 10, 2022

    @KATT
    Member

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

  3. linked a pull request that will close this issueadd fetch adapter #1852on May 1, 2022
  4. sachinraja commented on May 21, 2022

    @sachinraja
    Member

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

  5. github-actions commented on Oct 4, 2022

    @github-actions
    Contributor

    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.

  6. locked as resolved and limited conversation to collaborators on Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions