Skip to content
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

fix(core): improve the missing control flow directive message #46903

Commits on Jul 20, 2022

  1. fix(core): improve the missing control flow directive message

    Similarly to what has been done in angular#46846 for the extended diagnostics about missing control flow directive that was only mentioning that the `CommonModule` should be imported, this commit improves the validation done by the JiT compiler.
    Now that the control flow directives are available as standalone, the message mentions that directive itself can be imported.
    
    The message now also mentions which import should be used for the directive (as it can be tricky to figure out that `NgForOf` is the directive corresponding to `*ngFor`).
    cexbrayat committed Jul 20, 2022
    Copy the full SHA
    08219e0 View commit details
    Browse the repository at this point in the history