lyquocnam / fastify-sequelize

Fastity plugin work with Sequelize (adapter for NodeJS -> Sqlite, Mysql, Mssql, Posgres)
23 stars 12 forks source link

Update sequelize dependency #8

Open 174n opened 5 years ago

174n commented 5 years ago

You should update sequelize dependency because it uses deprecated string based operators When you run your code example you'll get that error:

sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators

smukkejohan commented 5 years ago

See pull request here: https://github.com/lyquocnam/fastify-sequelize/pull/9 using peerDependencies should fix this kind of issue for plugin type packages.