[FR] scope integration in Sequelize adapter
DenisFerrero opened this issue · 0 comments
DenisFerrero commented
In the Sequelize adapter would be really useful the possibility to call the models scopes in the list
and get
action by calling the scopes using the params. For example when making a call pass these params:
{
scopes: [
'roles', 'auths',
{ name: 'not', params: [ [1,2,3,4] ] }
];
}
This way it's possible to use normal scopes (object defined) and also function defined ones