Closed
Description
Feature Description
@angular/angular deprecated ComponentFactoryResolver
in 13.2.0:
https://github.com/angular/angular/blob/master/CHANGELOG.md#1320-2022-01-26
When using a lint rule such as deprecation/deprecation users of DomPortalOutlet
now get a warning due to the constructor requiring a ComponentFactoryResolver
Use Case
components/src/cdk/portal/portal.spec.ts
Lines 423 to 438 in aea5d13
I am not sure if the tslint deprecation
rule is enabled in this repository (it is not in tslint.json here) but I presume it would warn on the above tests.
It would be nice to not require an
// eslint-disable-next-line deprecation/deprecation
private componentFactoryResolver: ComponentFactoryResolver
in my code, and presumably the Angular team is planning on removing this at some point.