@koalarx/nest 3.1.39 → 3.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -412,7 +412,8 @@ class RepositoryBase {
|
|
|
412
412
|
if (relationPropName &&
|
|
413
413
|
!(relation[relationPropName] instanceof list_1.List)) {
|
|
414
414
|
relation[relationPropName] =
|
|
415
|
-
this.getConnectPrismaSchemaForRelation(relationUpdate.entityInstance,
|
|
415
|
+
this.getConnectPrismaSchemaForRelation(relationUpdate.entityInstance, relation[relationPropName] ??
|
|
416
|
+
relationUpdate.schema.where);
|
|
416
417
|
}
|
|
417
418
|
return transaction[(0, KlString_1.toCamelCase)(relation.constructor.name)]
|
|
418
419
|
.create({
|