chore: 移除autowire特性

This commit is contained in:
xiaojunnuo
2025-04-28 21:55:23 +08:00
parent 048696ee93
commit 0b6941d5ce
25 changed files with 55 additions and 106 deletions

View File

@@ -39,8 +39,6 @@ export async function createDnsProvider(opts: { dnsProviderType: string; context
}
// @ts-ignore
const dnsProvider: IDnsProvider = new DnsProviderClass();
Decorator.inject(dnsProviderDefine.autowire, dnsProvider, context);
dnsProvider.setCtx(context);
await dnsProvider.onInstance();
return dnsProvider;