We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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.

I'm getting the following error:

Error: Cannot combine @Input decorators with query decorators
    at http://localhost:9876/_karma_webpack_/D:/Work/Java.git/eureca2-web/node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js:40060:1
    at <Jasmine>
    at extractQueriesMetadata (http://localhost:9876/_karma_webpack_/D:/Work/Java.git/eureca2-web/node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js:40049:1)
    at directiveMetadata (http://localhost:9876/_karma_webpack_/D:/Work/Java

In detail it sfailing on the property: detailtemplate.


Same situation on the: 18.2.56 version


5 Replies

AG Ajith Govarthan Syncfusion Team September 3, 2020 01:51 PM UTC

Hi Albert, 

Thanks for contacting Syncfusion support. 

Based on your requirement we have prepared sample but we are unable to reproduce the issue at our end. For your convenience we have attached the sample so please refer the sample for your reference.  
  
We have also checked the issue over the internet and found that the issue may be caused with mismatch of the third party packages so please refer the below links to resolve the issue at your end. 


Reference Links: 


Please get back to us if you need further assistance. 

Regards, 
Ajith G. 



AV Albert van Veen September 3, 2020 02:30 PM UTC

Hi,

I already did some debugging. The component which is causing the issue was from the syncfusion package. Please find attached a sample project.

Attachment: examplebug_60e8d2b7.zip


AG Ajith Govarthan Syncfusion Team September 4, 2020 02:07 PM UTC

Hi Albert, 
 
Thanks for the update. 
 
Based on the attached sample we did not found any grid related code and in your previous update you have mentioned that In detail its failing on the property: detailTemplate. So, we suspect that you have not defined the detail template properly so please ensure that you have defined the detail template properly in your application. 
 
For your convenience we have attached the UG documentation so please refer the documentation for your reference.  
 
 
Please get back to us if you need further assistance. 
 
Regards, 
Ajith G.  



AV Albert van Veen September 4, 2020 02:39 PM UTC

Did you run the tests?


AG Ajith Govarthan Syncfusion Team September 7, 2020 02:06 PM UTC


Hi Albert, 

Thanks for the update. 

We have planned to hold the meeting to check your requirement further. We have also created incident for the same. Please follow up with the incident created under your account for further updates. 

Regards, 
Ajith G. 


Loader.
Up arrow icon