mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a4462c24fa
The way that `UpgradeAdapter` needs to be setup, you often find that you must pass a `forwardRef` for an `NgModule.import`. Pre-ivy, this gets resolved at runtime, but until this is implemented in ivy, we can workaround it by resolving it in the `UpgradeAdapter` upfront. This should be backward-compatible since by the time we actually create the dynamic `NgModule` that has the import, the imported class should be defined. PR Close #27132