This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Make deleteById
's implementation independent
#12
Labels
deleteById
's implementation independent
#12
Problem
Currently the
deleteById
function internally callsdeleteAll
which is problematic when deleteAll is overridden by another mixin such as soft-delete which modifies options resulting in unpredictable outcome.loopback4-sequelize/src/sequelize/sequelize.repository.base.ts
Line 325 in 926bc8e
Solution
Make it independent so that it works the way it's expected to.
The text was updated successfully, but these errors were encountered: