How to let return type depend on relations included in Prisma object
How can I create a function that takes in a Prisma object and let the return type be based on the included relations?
How can I create a function that takes in a Prisma object and let the return type be based on the included relations?