Zod - sort schema
Hi. I am adding sort option to prisma
Sort format should be:
I made my types from
Is it even possible?
findMany query. Since I don't know zod very well, I could not think of any possible type-safe solution.Sort format should be:
columnFieldName:orderType, so for example: firstName:desc.I made my types from
@prisma/client, but don't know how to add them to tRPC input.Is it even possible?
