Ng-zorro-antd: Ivy: Cannot combine @Input decorators with query decorators

Created on 2 Jul 2019  路  5Comments  路  Source: NG-ZORRO/ng-zorro-antd

Steps 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 |

Input

Most helpful comment

is there any updates on Ivy ?

All 5 comments

We do not support Ivy yet. Please open this kind of issue after there is an official announcement.

is there any updates on Ivy ?

it's now January 2020 - same error

ivy will be supported at 9.0 version

it's now January 2020 - same error

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

Was this page helpful?
0 / 5 - 0 ratings