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?
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?