if (e instanceof EggPrototypeNotFound && injectObject.optional) { continue; } throw e; } } const id = IdenticalUtil.createProtoId(this.loadUnit.id, this.name);12 changes: 12 additions & 0 deletions 12 core/metadata/test/LoadUnit.test.ts Original file line numberDiff line numberDiff lin...
+/**+* Creates a decorator for optional dependency injection.+* Use this when the dependency might not be available at runtime.+*+* @example+* class MyService {+* @InjectOptional('optionalDep')+* private dep?: SomeService;+* }+*+* @param param - Optional name or configuration for t...
fengmk2mentioned this issueMay 25, 2023 fengmk2added a commit that referenced this issueMay 26, 2023 feat: impl EggObjectLifecycle hook in decorator d57ad18 fengmk2mentioned this issueMay 26, 2023 killaguclosed this ascompletedincced8a2May 30, 2023 Assignees fengmk2...