-
Notifications
You must be signed in to change notification settings - Fork 248
Why we used some deprecated annotations of 0.10.0 angular.dart #929
Comments
Because those will be deprecated in 1.0. We should use @deprecated(msg) rather than @deprecated(), @mhevery ? |
Thank you for your explanation. |
Any information about why? Is there already something that can/should be used instead? |
Some info in #919 and some preceding issues. |
Thanks for the hint. I saw the issue but I'm not sure if I understand the implications. |
I left a question there, I can't see, to see any explanation or example of the work around, none of the documentation or official tutorials have been updated and searching forums simply brings back the same questions, is there anywhere that shows how to now annotate a controller class to the module? |
@stevematdavies we'll publish more docs when the corresponding PRs are released. You'll only be able to have a root controller. Find the rationale and how-to in the issue you have commented. |
The rationale is sound to me, no concerns there, however, as for a how to, I'm still looking for one that is clearly given, hence my questions |
I upgrade angular.dart version to 0.10.0.
I found Controller, NgAttr and other annotations is deprecated.
Also it used in application.
Why we do this?
The text was updated successfully, but these errors were encountered: