how to get StandAlone model in before hook to include it in context and how to mention muliple associated models in include
context => {
const AssociatedModelMunitionFuses = context.app.services.munitionfuses.Model;
const AssociatedModelMunitionDescription = //StandAloneModel;
context.params.sequelize = {
//Require multiple models to include
include: [{ model: AssociatedModelMunitionFuses }]
};
return context;
},
Found this solution on slack community