-
Notifications
You must be signed in to change notification settings - Fork 25.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler generates references to a deprecated class. #14521
Comments
chuckjaz
added a commit
to chuckjaz/angular
that referenced
this issue
Feb 16, 2017
chuckjaz
added a commit
to chuckjaz/angular
that referenced
this issue
Feb 16, 2017
Fixes angular#14521 BREAKING CHANGE: `NgFor` is no longer provided by `NgForOf<T>`. Mitigation: Change constructor parameter references from NgFor` to `NgForOf<any>`.
chuckjaz
added a commit
to chuckjaz/angular
that referenced
this issue
Feb 16, 2017
…r#14523) References to `NgFor` are now an alias for `NgForOf` instead of a derived class. Fixes angular#14521
chuckjaz
added a commit
to chuckjaz/angular
that referenced
this issue
Feb 16, 2017
…r#14523) References to `NgFor` are now an alias for `NgForOf` instead of a derived class. Fixes angular#14521
chuckjaz
added a commit
to chuckjaz/angular
that referenced
this issue
Feb 16, 2017
…r#14523) References to `NgFor` are now an alias for `NgForOf` instead of a derived class. Fixes angular#14521
chuckjaz
added a commit
to chuckjaz/angular
that referenced
this issue
Feb 16, 2017
…r#14523) References to `NgFor` are now an alias for `NgForOf` instead of a derived class. Fixes angular#14521
chuckjaz
added a commit
to chuckjaz/angular
that referenced
this issue
Feb 22, 2017
…r#14523) References to `NgFor` are now an alias for `NgForOf` instead of a derived class. Fixes angular#14521
IgorMinar
pushed a commit
that referenced
this issue
Feb 24, 2017
asnowwolf
pushed a commit
to asnowwolf/angular
that referenced
this issue
Aug 11, 2017
…r#14523) (angular#14523) References to `NgFor` are now an alias for `NgForOf` instead of a derived class. Fixes angular#14521
juleskremer
pushed a commit
to juleskremer/angular
that referenced
this issue
Aug 28, 2017
…r#14523) (angular#14523) References to `NgFor` are now an alias for `NgForOf` instead of a derived class. Fixes angular#14521
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a ... (check one with "x")
Current behavior
When using
*ngFor
, the compiler will generate a reference toNgFor
in the provider for the component.NgFor
is deprecated in favor ofNgForOf<T>
and will issue warning if the code is checked for references to deprecated symbols.Expected behavior
The compiler should only generated references to deprecated classes only if a depreciated class is declared or imported into the module it is declared in and part of the template matches the selector for the component or directive.
Minimal reproduction of the problem with instructions
Any template with a
*ngFor
.What is the motivation / use case for changing the behavior?
Avoiding deprecated references.
The text was updated successfully, but these errors were encountered: