(
module: Type<unknown>,
token: string,
context: string,
)
| 226 | } |
| 227 | |
| 228 | public async reflectImports( |
| 229 | module: Type<unknown>, |
| 230 | token: string, |
| 231 | context: string, |
| 232 | ) { |
| 233 | const modules = [ |
| 234 | ...this.reflectMetadata(MODULE_METADATA.IMPORTS, module), |
| 235 | ...this.container.getDynamicMetadataByToken( |
| 236 | token, |
| 237 | MODULE_METADATA.IMPORTS as 'imports', |
| 238 | )!, |
| 239 | ]; |
| 240 | for (const related of modules) { |
| 241 | await this.insertImport(related, token, context); |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | public reflectProviders(module: Type<any>, token: string) { |
| 246 | const providers = [ |
no test coverage detected