From 62ffcc184a46085737b1d3d5f6cd4faf152534b9 Mon Sep 17 00:00:00 2001 From: notaphplover Date: Sun, 27 Oct 2024 14:03:14 +0100 Subject: [PATCH] feat(core): update ManagedClassElementMetadata.value update value to allow LazyServiceIdentifier --- .../core/src/metadata/models/ManagedClassElementMetadata.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/container/libraries/core/src/metadata/models/ManagedClassElementMetadata.ts b/packages/container/libraries/core/src/metadata/models/ManagedClassElementMetadata.ts index 50525bcb..822ce8c3 100644 --- a/packages/container/libraries/core/src/metadata/models/ManagedClassElementMetadata.ts +++ b/packages/container/libraries/core/src/metadata/models/ManagedClassElementMetadata.ts @@ -1,4 +1,4 @@ -import { ServiceIdentifier } from '@inversifyjs/common'; +import { LazyServiceIdentifier, ServiceIdentifier } from '@inversifyjs/common'; import { BaseClassElementMetadata } from './BaseClassElementMetadata'; import { ClassElementMetadataKind } from './ClassElementMetadataKind'; @@ -11,7 +11,7 @@ export interface ManagedClassElementMetadata | ClassElementMetadataKind.singleInjection | ClassElementMetadataKind.multipleInjection > { - value: ServiceIdentifier; + value: ServiceIdentifier | LazyServiceIdentifier; name: MetadataName | undefined; optional: boolean; tags: Map;