A "module with providers" does not pass providers when imported to another imported module.
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
When a module `A` imports a `ModuleWithProviders` all is good.
When module `B` imports `A`, the module `B` will not see the `ModuleWithProviders.providers` data that was made available to module `A`.
This can cause "no-provider-found" errors incorrectly.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Look at the module import and provider resolution logic in the core framework. Start by examining how ModuleWithProviders metadata is propagated through nested imports. The test suite likely has cases for provider inheritance; run existing tests to see the failure mode. The fix involves ensuring provider definitions are collected transitively when a module imports another that itself imported a ModuleWithProviders.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- backend-api-design
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100