Jinay Jain
10/12/2021, 9:03 PMcount for this kind of type:
const topicWithResources = Prisma.validator<Prisma.TopicArgs>()({
include: {
resources: true,
},
});
export type TopicWithResources = Prisma.TopicGetPayload<
typeof topicWithResources
>;Jinay Jain
10/12/2021, 9:03 PMincludes seems unscalable to meRyan
10/13/2021, 6:33 AMGetPayload types is the way to go for now.