tRPCttRPC
Powered by
BarakondaB
tRPC•3y ago•
1 reply
Barakonda

Is it possible to split the router definition with the imlementation?

I want to define the server router(input\output\meta) in a separate package from the server package
I want to have a package that will contain the types I use + the router definition, another for the server itself(will use the router definition like an interface),
and lastly the client package which ill only need to import the types package to work
is this possible?
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

is it possible to use trpc without the app router?
tltlTtltl / ❓-help
2y ago
Is It Possible to use methodOverride with createNextApiHandler?
Sami Mis'halSSami Mis'hal / ❓-help
2y ago
Is it possible to change the base path?
ChenCChen / ❓-help
2y ago