#typesafe api routes

4 messages · Page 1 of 1 (latest)

hard cobalt
#

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....

warm bridge
#

never say never, but for now it wont happen

#

we recommend embedding a typesafe API like hono, elysia etc into a start server route

hard cobalt
#

Is there any example repo or any docs resources?