T
tRPC
procedure.input(z.object) is inferred as a partial (optional fields)?
procedure.input(z.object) is inferred as a partial (optional fields)?
Solution
Looking for more? Join the community!
T
tRPC
procedure.input(z.object) is inferred as a partial (optional fields)?
T
tRPC
procedure.input(z.object) is inferred as a partial (optional fields)?
Recommended Posts
How to trigger revalidate after server action on a client componenthttps://github.com/trpc/examples-next-app-dir/blob/main/src/app/server-action/ReactHookFormExample.ttrpc openapi api memory problemHi Everyone,
I am facing memory issues with trpc-openapi. I have a full-stack app in NextJS using TContext being destroyed in mutatorIm currently building an app using the t3 stack + clerk for auth
I have an operation which relies oOptimizing Data Refresh with trpc in React/Nextjs? Is there a more efficient way?I'm working on a Nextjs project using trpc, and I've noticed that I'm repeating the same code for dacorsHi! Some problems with cors maybe you can help, ```readingbee.se/:1 Access to fetch at 'https://servShowing pending inside the request?I am using trpc with nextjs but when I am using hooks they're just not returning anything? Like it mOutput properties missing on frontend results (Type Infer)My trpc client is inferring the type without some properties from the object (See images for explenAvoid checking for TRPCClientError, and return the error in client query/mutateWhat i'm trying to do, is avoid doing try/catch on every trpc call to backend, if ZOD validation faiProperty 'query' does not exist on type ...I think this is an issue on my end here is how I am defining everything
```
export const t = initTRPuseQueries passing ctx data to splitLink not workingWhen tRPC is implemented with splitLink using useQueries does not pass cxt parameters to splitLink.