Search
Setup for Free
TTC
Theo's Typesafe Cult
•
3y ago
fasm
TRPC function type per router
I know you can run your TRPC endpoint on vercel
's edge
, but does anyone know if I can run some routes on serverless and some on edge
? Thanks
Theo's Typesafe Cult
Join
26,232
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
M
matvey
•
4/19/23, 2:11 PM
I think you can have 2 endpoints
, one on the edge and one in a lambda
, and use a splitLink in tRPC to use different endpoints
-
https://trpc.io/docs/links/splitLink
This is just a suggestion
, I never tried it and it might not work
.
Similar Threads
Infer nested type of trpc router return type
TTC
Theo's Typesafe Cult / questions
3y ago
trpc routerOutputs
TTC
Theo's Typesafe Cult / questions
3y ago
Error function trpc
TTC
Theo's Typesafe Cult / questions
3y ago