Closed
Description
Issue
Globe commit isaacs/node-glob@73feafd forces minimatch config options allowWindowsEscape to true, this breaks Sequelize option models
, when it is set to path, like models: [__dirname + '/**/*.model.ts']
on windows system.
Versions
- sequelize: 6.25.2
- sequelize-typescript: 2.1.4
- typescript: 4.8.3
Issue type
- bug report
- feature request
Actual behavior
When applicaton starts, models are not initializing. When trying to use model you receive an exception "Model not initialized: Member \"count\" cannot be called. \"User\" needs to be added to a Sequelize instance."
Steps to reproduce
- Install [email protected]
- Set sequelize option to path, like
models: [__dirname + '/**/*.model.ts']
- Run application on windows system
Solving the problem
Metadata
Metadata
Assignees
Labels
No labels