Skip to content

Feature Request: RTK Query client adapter #345

@dbartholomae

Description

@dbartholomae

Hi there! One thing that trpc is missing (and is not planned to be supported) is a good integration with RTK Query. With orpc, there is at least a way to generate RTK Query from an OpenAPI spec, but it would be even more awesome to have an implementation that doesn't require codegen and just uses types to ensure that only the right calls are available.

Being able to use RTK Query would allow orpc to focus on the server and the communication layer, while RTK Query would take care of client-side state management, caching, and other related concerns.

There is a library that tries to achieve this for TRPC, but it doesn't seem to be actively maintained anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions