hannahhoward / a1atscript

The Angular 2 Polyfill
MIT License
101 stars 7 forks source link

Single annotation per thing #1

Open nyarly opened 9 years ago

nyarly commented 9 years ago

If I understand it correctly, _getDependencyType(dependency) stops at the first annotation it finds. The initial motivation (replace angular.thing calls) only needs that, it might be nice to be able to build up a library of annotations, which means handling multiples.

Which opens the question: what if a single class is annotated (e.g.) @Service and @Controller?