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
{{ message }}
Repository navigation
updating an array with unshift does not work #11247
dialect: postgresFor issues and PRs. Things that involve PostgreSQL (and do not involve all dialects).status: understoodFor issues. Applied when the issue is understood / reproducible.type: bugDEPRECATED: replace with the "bug" issue type
This issue has been automatically marked as stale because it has been open for 7 days without activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment or remove the "stale" label. 🙂
This is a know issue. Sequelize can't currently detect that change. You need to use Model#changed('urls', true) ; or ,as you did, reassign (product.urls = urls;).
I don't consider it a bug but it's still something I'm looking into resolving as it pops up often.
I've opened a discussion here #14300 regarding changing how we detect changes.
dialect: postgresFor issues and PRs. Things that involve PostgreSQL (and do not involve all dialects).status: understoodFor issues. Applied when the issue is understood / reproducible.type: bugDEPRECATED: replace with the "bug" issue type
Activity
papb commentedon Jul 30, 2019
Could you please test with the latest release, just in case?
fareshan commentedon Jul 30, 2019
@papb I tested it with the latest release v5.12.0 and I got the same behavior
Sydneyisachampion1 commentedon Jul 31, 2019
What is that
github-actions commentedon Nov 8, 2021
This issue has been automatically marked as stale because it has been open for 7 days without activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment or remove the "stale" label. 🙂
ephys commentedon Jan 5, 2022
This is a know issue. Sequelize can't currently detect that change. You need to use
Model#changed('urls', true); or ,as you did, reassign (product.urls = urls;).I don't consider it a bug but it's still something I'm looking into resolving as it pops up often.
I've opened a discussion here #14300 regarding changing how we detect changes.