Open jabuj opened 4 years ago
[x] bug report [ ] feature request
$set doesn't accept the save option described in sequelize documentation (https://sequelize.org/v5/class/lib/associations/belongs-to.js~BelongsTo.html#instance-method-set). The following code produces compilation error:
$set
save
ModelA.$set('modelB', instanceOfB, { save: false })
It works with // @ts-ignore so it would be nice to add the save property to the AssociationActionOptions interface
// @ts-ignore
AssociationActionOptions
Hey @ialexi-bl , thanks for reporting!
Versions
I'm submitting a ...
[x] bug report [ ] feature request
Related
244
Behavior
$set
doesn't accept thesave
option described in sequelize documentation (https://sequelize.org/v5/class/lib/associations/belongs-to.js~BelongsTo.html#instance-method-set). The following code produces compilation error:It works with
// @ts-ignore
so it would be nice to add thesave
property to theAssociationActionOptions
interface