Ivy: Cannot combine @Input decorators with query decorators
See original GitHub issueSteps to reproduce
- using NzTable and/or NzPagination
- turn on ivy
- build
What is expected?
Should build successfully
What is actually happening?
Building process throws ERROR in Cannot combine @Input decorators with query decorators
@Input & @ViewChild are used together in NzTable and NzPagination, which is not allowed in Ivy.
| Environment | Info |
|---|---|
| ng-zorro-antd | 8.0.1 |
| Browser | not concerned |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
angular - Cannot combine @Input decorators with query ...
0 and i'am now trying the new compiler ivy. The app works perfectly without ivy but when i try to compile with it...
Read more >ERROR in Cannot combine @Input decorators with query ...
Based on the error message, it looks like @input() and @ContentChild decorators are used on the same field in a Component class. This...
Read more >Cannot combine @Input decorators with query decorators
Hi, · i'm upgrading to Angular 9. Almost everything works excepts for Karma tests in my SearchModule wich uses the GridModule of Syncfusion....
Read more >angular/angular-cli - Input - Gitter
Hi, I updated to v8 and the project is building fine. But when I enable Ivy, it shows this error: "Cannot combine @Input...
Read more >Angular – Cannot combine @Input decorators with query decorators ...
The app works perfectly without ivy but when i try to compile with it i have the following error : Cannot combine @Input...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

is there any updates on Ivy ?
If you’re still experiencing this error follow the official documentation for migrating to angular 9 here https://update.angular.io/. I did the same and now everything works fine