Hello,
I noticed that SmartFieldFilterer
does not allow in its current definition to return a promise instead of forest-express
work well with promise:
actual:
export interface SmartFieldFilterer {
(filter: SmartFieldFiltererFilter): Sequelize.WhereOptions
}
proposal:
export interface SmartFieldFilterer {
(filter: SmartFieldFiltererFilter): Sequelize.WhereOptions | Promise<Sequelize.WhereOptions>;
}
PR:
https://github.com/ForestAdmin/forest-express-sequelize/pull/1043