AnnotationResolver with Promises