tRPCttRPC
Powered by
hagabakaH
tRPC•3y ago•
3 replies
hagabaka

Procedure with generic input?

Is there a way to define a procedure so that it takes input with type parameters, and returns output depending on the type parameters?
Solution
Never mind, should have read ❓-helpCan I pass generics to TRPC procedure calls?
Jump to solution
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

procedure input context
MugetsuMMugetsu / ❓-help
4y ago
Generic Zod as Input Type
RealityShiftRRealityShift / ❓-help
3y ago
Multiple Inputs on TRPC Procedure?
jackhammer8234Jjackhammer8234 / ❓-help
3y ago