Skip to content

About TypeError: sequelize.import is not a function #122

Open
@mejustdev

Description

@mejustdev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions