trpc.io
Inconsistent Type assertion in typescript when in Trpc publicProcedure (with prisma)
I am trying to create a public procedure to query a product that is stored in my database. If the product is not found, I am asking Prisma to throw an error, in fact, I am using the findUniqueOrThrow[详细]
2022-12-07 21:31 分类:问答