royib/clean-architecture-nestJS

How to add Sequelize?

mattia-beta opened this issue · 0 comments

Hi, thank you for your work.
How can I replace mongo with sequelize?

I've created a data-services/mysql/mysql.module following the example of mongo you provided.
However I get a lot of Type errors like:
Property 'findOneById' does not exist on type 'Model<T, T>'.ts(2339)

Can you provide an example?

Thanks