Hi,

I created a new angular package and after install dependencies yesterday, 
angular-compiler 4.4.4 and some another angular packages was installed and 
my compiled files are missing constructor parameters meta data. I tried to 
find where they are generated but I can't understand very well. 

Here is a example of generated code when I use angular 4.4.3 and 
ngc: https://gist.github.com/hersonls/0e8f87bd2366958c81aa7d7495b7ef5c
And here is a example after update and was installed angular 
4.4.4: https://gist.github.com/hersonls/4b4a8ce57a98ab1a159f5e2c50814d08

The main diference is the missing *LoadingComponent.ctorParameters, *wich 
raise a error when the app is running, the error is the missing dependence 
injection. After some research I believe *ctorParameters* is generated 
Reflection by ( 
https://github.com/angular/angular/blob/d489ad595de1e128ec6f96d2383fef696c78217b/packages/core/src/reflection/reflection_capabilities.ts#L56)

Someone can help me understand how reflected is generated? Who is 
responsible to generate them, ngc, typescript or another thing?

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to