From c89694919df0f5e2ddb0fa380eb21043f3c6d163 Mon Sep 17 00:00:00 2001 From: faris Aljohari <83524184+farisaljohari@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:12:47 +0300 Subject: [PATCH] Remove lazy loading for productDevice in DeviceEntity --- libs/common/src/modules/device/entities/device.entity.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/common/src/modules/device/entities/device.entity.ts b/libs/common/src/modules/device/entities/device.entity.ts index 03a5d10..f782b4a 100644 --- a/libs/common/src/modules/device/entities/device.entity.ts +++ b/libs/common/src/modules/device/entities/device.entity.ts @@ -48,7 +48,6 @@ export class DeviceEntity extends AbstractEntity { @ManyToOne(() => ProductEntity, (product) => product.devicesProductEntity, { nullable: false, - lazy: true, }) productDevice: ProductEntity;