t
tRPC
t
tRPC
Get possible routes in dot notation
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
A
Alex / KATT 🐱
•
2/21/23, 10:48 PM
You can do this just bear in mind it might slow ts down a bit on big projects
A
Alex / KATT 🐱
•
2/21/23, 10:49 PM
But you can apply same thing on e
.g
. the inference helpers
(
https://trpc.io/docs/infer-types#inference-helpers
)
, quite convenient indeed
Inferring Types | tRPC
It is often useful to wrap functionality of your
@trpc
/client or
@trpc
/react
-query api within other functions
. For this purpose
, it
's necessary to be able to infer input types and output types generated by your
@trpc
/server router
.