Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is it possible to pass down a generic to my TRPC API route (procedure)? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
8 replies
juanvilladev
Is it possible to pass down a generic to my TRPC API route (procedure)?
From my front end
, I need to pass a generic down to my TRPC procedure
. Is this possible
?
The reason is because the fn that runs within the procedure will change the return types based on the generic it receives
.
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
is it "ideal" to directly fetch /api/trpc/route.procedure in another server
TTC
Theo's Typesafe Cult / questions
3y ago
Is it possible to download a CSV using trpc?
TTC
Theo's Typesafe Cult / questions
3y ago
Calling tRPC procedure from within another tRPC procedure?
TTC
Theo's Typesafe Cult / questions
4y ago