njwags
njwags
TtRPC
Created by njwags on 9/14/2023 in #❓-help
One router multiple adapters?
I'd still be curious to hear thoughts from anyone with more tRPC knowledge, but I've currently got a solution where I use the node.js native http.createServer to start a server and then I map the node.js request instance to the Fetch API request instances, then pass it to fetchRequestHandler. I then have to map the response of that call to the node.js response instance. Looks like hack for sure, but it works...
3 replies