New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(sequelize.col): associations #11419
Conversation
Enum doesn't escape values on "Create Table"
Sequelize.col doesn't support use of associations
Sorry for the previous test, it worked with my dialect (Postgres) |
Hello, thanks for the PR, I am under the impression this solves an existing issue, do you know which one? Also, to be honest I am surprised this little change you made solves it without breaking anything... Amazing! Can you explain how is it possible that your change does not break anything? |
It's just by chance and I thought this change was logical compared to the associations between tables, that's all ^^" |
}); | ||
}).then(() => { | ||
return Table1.findAll({ | ||
raw: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove raw and assert on return value
Codecov Report
@@ Coverage Diff @@
## master #11419 +/- ##
=======================================
Coverage 96.26% 96.26%
=======================================
Files 94 94
Lines 9181 9181
=======================================
Hits 8838 8838
Misses 343 343
Continue to review full report at Codecov.
|
🎉 This PR is included in version 5.19.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Pull Request check-list
Please make sure to review and check all of these items:
npm run test
ornpm run test-DIALECT
pass with this change (including linting)?Description of change
Sequelize.col doesn't support use of associations