feat(annotations): add optional resolver