Closed wookieb closed 7 years ago
Instead doing this
dic.service('name').annotate('annotation-name', {property: 1});
Allow to do this
dic.service('name').annotate({name: 'annotation-name', property: 1});
This feature will allow to have predefined functions for creating annotations
const eventListener = (name, priority) => { return {name: 'event-listener', event: name, priority: priority || 50}; }; dic.service('name').annotate(eventListener('event-name', 10))
Instead doing this
Allow to do this
This feature will allow to have predefined functions for creating annotations