-
Notifications
You must be signed in to change notification settings - Fork 1.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
Using deprecated ngOutletContext, Angular 5.x will fail to build #2658
Comments
Created a PR: #2659 |
Thanks for, at the moment we are working on dropping support of ng 2, and moving to support ng v4 and v5 |
By replacing ngOutletContext to ngTemplateOutletContext in all files, it worked for me. |
@Anoop-Goudar That is exactly what this PR did, and it is already merged, so use the latest beta version. |
@MrBlaise Thanks, I updated the package ngx-bootstrap to 2.0.0-beta.8 |
I was using ion2-calendar. It was using ngOutletContext. Replacing it with ngTemplateOutletContext worked for me. |
The
ngOutletContext
is deprecated in Angular 4 and will be removed in Angular 5. Please usengTemplateOutletContext
https://github.com/angular/angular/blob/master/CHANGELOG.md#deprecated-code
It is used here for example: https://github.com/valor-software/ngx-bootstrap/blob/31c5f62a48560d4372f0043241829a27e5f3deb6/src/sortable/sortable.component.ts (line 42)
Other files I found with ngOutletContext:
The text was updated successfully, but these errors were encountered: