Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to find under which component [(ngModel)] used with reactive forms? Does Angular cli have separate ngModel chek?

I am currently upgrading app from Angular 5 to Angular 7. One of the topic is to update places, where [(ngModel)] used with reactive forms.

I am looking for a way to see all places in app, where it happened.

Problem is that I have a really big app with many components and shared components. I have tried to grep all ngModel under app or any react forms, but too many files need to be manually checked and compared. I saw that cli argue about ngModel during tests. I wonder do we have any possibility to run just check for ngModel under cli.

I saw warnings about ngModel during compilation, However, I have those warnings only during tests. And I am not sure, Are those warnings related only to tests (maybe some deprecated from app components) or they may trigger in some special cases under the app. As I mentioned before, App is big, Also I have 3k+ tests. I have tried to check which exactly test trigger those warnings. But Hopeless ... to big manual work. That Why I wonder, Maybe Angular have the possibility to run this ngModel check separately?

Comments