TanStackT
TanStack3mo ago
4 replies
ordinary-sapphire

typesafe api routes

Is there any future consideration to make first party orpc like thing in tanstack echosystem. I want to utilize my server routes in typesafe way in web application. server functions are good but not scalable to mobile and other integration...

it is simple to create such proxy if we have endpoint at 'api/users/invite: post`
it should be like api.users.postInvite() but also params, search params and body should be typesafe....
Was this page helpful?