Hi, when trying to update an entity and nested entities using updateMany, typescript enforce me to add a where clause even if I want to update all the nested entities.
Is this correct?
is there any docs that indicates why?
should I add an empty where for all the nested entities to be updated?
return this.data.quoteRequest.update({
where: { id: quoteRequestId },
data: {
status: QuoteRequestStatus.Cancelled,
submittedQuotes: {
updateMany: {
data: {
status: QuoteSubmissionStatus.Rejected,
},
},
},
},
});