jackhammer8234
Explore posts from serversMultiple Inputs on TRPC Procedure?
Essentially I'm trying to pass a cart (array of objects) into a public procedure (doing so fine). I want to add user object to the call too but cannot find any info online about multiple inputs into a procedure. Is anyone able to help please?
More info here https://stackoverflow.com/questions/76691553/trpc-multiple-inputs
2 replies
TTCTheo's Typesafe Cult
•Created by jackhammer8234 on 5/12/2023 in #questions
Nested TRPC Calls
Hi, would anyone be able to assist please? Hope it's ok to post stack overflow link, just figured code would format better. I'm trying to call a TRPC method within another, but get invalid hook call. Essentially trying to modify returned products with s3 image url's being returning back to the component. https://stackoverflow.com/questions/76232392/nextjs-trpc-invalid-hook-call-nested
13 replies