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
I am in the Connecting Resolvers and Database part.
I got this warning: TypeError: sequelize.import is not a function. I searched about it. I could not find any answer that fits my problem.
This is my Sequelize version: "sequelize": "^6.3.4",
Maybe it is related with the deprecation of import function in Sequelize? How can we refactor our code?
I think this kind of problems can happen everytime. How can we deal with those?
The text was updated successfully, but these errors were encountered:
I am in the Connecting Resolvers and Database part.
I got this warning:
TypeError: sequelize.import is not a function
. I searched about it. I could not find any answer that fits my problem.This is my Sequelize version: "sequelize": "^6.3.4",
Maybe it is related with the deprecation of
import
function in Sequelize? How can we refactor our code?The text was updated successfully, but these errors were encountered: