Infering procedure input from prisma type
Hey, is there a way to infer the input validation from prisma entity? maybe with some utility
something like this, which is wrong
something like this, which is wrong
upsertOrder: protectedProcedure
.input(
z.object({
order: z.somehow...<Prisma.dispo_order>
}),
...