angular.dart
angular.dart copied to clipboard
Outdated comment @MirrorsUsed in application_factory.dart
This is what it says:
/**
* If you are writing code accessed from Angular expressions, you must include
* your own @MirrorsUsed annotation or ensure that everything is tagged with
* the Ng annotations.
*
* All programs should also include a @MirrorsUsed(override: '*') which
* tells the compiler that only the explicitly listed libraries will
* be reflected over.
*
* This is a short-term fix until we implement a transformer-based solution
* which does not rely on mirrors.
*/
If I'm not mistaken this is already resolved with the current transformers.
@vicb can you take a look at this? Is it simply a doc change?
@vmendi is right here. We use mirrors only in the dev environment. In production env, we'll use the getters generated by the transformer.