Thanks in advance,todos: {create: {module: 'cola/Hub',args: {strategyOptions: {validator: { module: 'create/validateTodo' }}}},before: {add: 'cleanTodo | generateMetadata',update: 'cleanTodo'}}
Here, the todos component has the wire/aop 'before' connection on add and update events.
I would like to know if the following config does the same as above:todos: {create: {module: 'cola/Hub',args: {strategyOptions: {validator: { module: 'create/validateTodo' }}}},connect: {beforeAdd: 'cleanTodo | generateMetadata',beforeUpdate: 'cleanTodo'}}