dart-archive / di.dart

DEPRECATED
https://webdev.dartlang.org/angular/guide/dependency-injection
MIT License
65 stars 57 forks source link

There must be a transformer defined in pubspec.yaml - please add this to the README #214

Open MikeMitterer opened 9 years ago

MikeMitterer commented 9 years ago

pubspec.yaml:

...
transformers:
  - di

If you use di without Angular you need the di-transformer set. Without it produces a DEFAULT_REFLECTOR error - I know there is a wiki page for this but why not add it to the README. Would solve a lot of trouble and googling for this particular error