I use custom mixins, which have internal actions.
I use middlewares over my own actions.
But actions of mixins fall into middlewares.
Need to use some duck typing check for ignoring mixin actions in middlewares.
Example for moleculer-io:
if (action.name === 'io.call') {
return next(ctx);
}
Is exist more safe and robust way to check mixin action in middleware?