Store the DI decorator's id in specific property (#5131).

This commit is contained in:
Asem Dreibati
2024-10-29 10:31:57 +03:00
parent f701d073d1
commit a1b438cea6
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ export class InstantiationService implements IInstantiationService {
for (const dependency of serviceDependencies) {
const service = this._services.get(dependency.id);
if (!service) {
throw new Error(`[createInstance] ${ctor.name} depends on UNKNOWN service ${dependency.id}.`);
throw new Error(`[createInstance] ${ctor.name} depends on UNKNOWN service ${dependency.id._id}.`);
}
serviceArgs.push(service);
}