Describe the feature you'd like to request
For example, tanstack start allows us to create an isomorphic function that can handle both client and server calls, but we are not able to use this with trpc because callers go directly to method name and client calls have an object containing mutate/query.
Describe the solution you'd like to see
make client (vanilla) use functions instead of objects
or
make callers be objects containing mutate/query functions.
Describe alternate solutions
A lot of code that I wasn't actually able to get it working
Additional information
No response
👨👧👦 Contributing
Describe the feature you'd like to request
For example, tanstack start allows us to create an isomorphic function that can handle both client and server calls, but we are not able to use this with trpc because callers go directly to method name and client calls have an object containing mutate/query.
Describe the solution you'd like to see
make client (vanilla) use functions instead of objects
or
make callers be objects containing mutate/query functions.
Describe alternate solutions
A lot of code that I wasn't actually able to get it working
Additional information
No response
👨👧👦 Contributing