Open igo opened 6 months ago
Add support for async is function so that async functions can be called inside.
is
.when(['$prisma'], { is: async (prisma: PrismaClient) => { return await prisma.entity.count({...}); } })
Right now seems that if there is an async it always evaluates to true.
async
Add support for async
is
function so that async functions can be called inside.Right now seems that if there is an
async
it always evaluates to true.