node-mysql2: Sequelize broken with v2.3.1
Hello,
Long-time user of sequelize + mysql2 here. Our build starts to fail when upgrading to v2.3.1 of your library. I didn’t investigate deeply yet but the error we’re getting is
SequelizeDatabaseError: Cannot read property 'parse' of undefined
at Query.formatError (node_modules/sequelize/lib/dialects/mysql/query.js:265:16)
at Query.run (node_modules/sequelize/lib/dialects/mysql/query.js:77:18)
I can also open an issue there if you feel the issue is on their side, but you released a minor version wich isn’t supposed to contain breaking changes.
I can provide logs, reproduction repo, anything you’d need to debug.
Cheers, David
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 22 (11 by maintainers)
Commits related to this issue
- add failing test for #1418 regression — committed to sidorares/node-mysql2 by sidorares 3 years ago
- change how readCode is applied in typeCast generated wrapper. Fixes #1418 — committed to sidorares/node-mysql2 by sidorares 3 years ago
Hi @sidorares
On a side note, deprecating the version on npm would be a great move forward too. Automated dependency upgrades are spreading in user’s repositories…
Cheers, David