Closed
Description
Reported on Discord: https://discord.com/channels/1035538056146595961/1178744879514398842
61 create(args) {
62 return __awaiter(this, void 0, void 0, function* () {
63 args = yield this.preprocessArgs('create', args);
→ 64 const r = yield this.prisma[this.model].create({
data: {
label: "Aaa",
commercialAction: {
connect: {
commercialActionGroupId: "clpccy6xz0000iwt42xlix7i1",
? id?: String,
? AND?: CommercialActionWhereInput | CommercialActionWhereInput[],
? OR?: CommercialActionWhereInput[],
? NOT?: CommercialActionWhereInput | CommercialActionWhereInput[],
? createdAt?: DateTimeFilter | DateTime,
? updatedAt?: DateTimeFilter | DateTime,
? label?: StringFilter | String,
? activated?: BoolFilter | Boolean,
? commercialActionGroup?: CommercialActionGroupRelationFilter | CommercialActionGroupWhereInput,
? commercialActionsLabel?: CommercialActionLabelListRelationFilter
}
}
},
select: {
id: true
}
})
Argument `connect` of type CommercialActionWhereUniqueInput needs at least one of `id` arguments. Available options are marked with ?.