Closed yelled3 closed 7 years ago
Sequelize 4.x has introduced some breaking changes and sequelize-to-json won't work properly with it. I'll be looking into this shortly. In the meantime, here's a pull request updating the module to cooperate with Sequelize 4: https://github.com/hauru/sequelize-to-json/pull/5
fixed in https://github.com/hauru/sequelize-to-json/commit/a94b6d4c546a65e25e820ea595476e2fc58464d1
thanks @hauru
@hauru this seems to be the issue:
https://github.com/hauru/sequelize-to-json/blob/master/index.js#L90-L92