Multiple 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
More info here https://stackoverflow.com/questions/76691553/trpc-multiple-inputs
Stack Overflow
I have a TRPC public procedure in my NextJS project. Currently one of the methods, I pass in the shopping cart of a customer, which is an array of objects. I want to add the user details in additio...