-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Describe the feature you'd like to request
Came across a need to have a separate trpc client for server side that calls procedures directly. I think this is probably useful enough to be included in tRPC.
I imagine it would live within the server package, since this is only really useful in a server side context.
Describe the solution you'd like to see
I've created an implementation here for our use case
https://github.com/exhibitionist-digital/ultra/blob/main/examples/with-trpc/src/trpc/server.tsx
Desribe alternate solutions
Just providing docs of how to create a custom procedure that does the above.
Additional information
No response
👨👧👦 Contributing
- 🙋♂️ Yes, I'd be down to file a PR implementing this feature!
mmkal
Metadata
Metadata
Assignees
Labels
No labels