Barakonda
Barakonda2y ago

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?
1 Reply
Nick
Nick2y ago
It gets brought up every now and again, but there’s not really much benefit to the idea. All it would do is make you write double the numbers of files to achieve the same thing

Did you find this page helpful?