You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #228, it was discovered the delete hooks (beforeDelete, afterDelete) are not run during /DELETE requests. From the Sequelize documentation: "The only way to call beforeDestroy/afterDestroy hooks are on associations with onDelete: 'cascade' and the option hooks: true"
We should investigate whether using 'delete on cascade' when defining associations results in delete hooks being run during /DELETE requests.
The text was updated successfully, but these errors were encountered:
While working on #228, it was discovered the
delete
hooks (beforeDelete
,afterDelete
) are not run during/DELETE
requests. From the Sequelize documentation: "The only way to call beforeDestroy/afterDestroy hooks are on associations with onDelete: 'cascade' and the option hooks: true"We should investigate whether using 'delete on cascade' when defining associations results in
delete
hooks being run during/DELETE
requests.The text was updated successfully, but these errors were encountered: