Worklog for task "Display a link to the project on the task page"
16 июн. 2026 г., 04:41:35
We just needed to specify getting the project in the query
return ctx.prisma.task.findUnique({
...query,
where: {
id: taskId,
},
include: {
Project: hasFieldInSelection(info, 'Project'),
},
})