-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: remove sequelize.import helper #12175
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12175 +/- ##
==========================================
- Coverage 96.34% 96.33% -0.01%
==========================================
Files 95 95
Lines 9190 9179 -11
==========================================
- Hits 8854 8843 -11
Misses 336 336
Continue to review full report at Codecov.
|
I noticed that The upgrade guide only mentions that the function has been deprecated, but offers no other directions. 😅 |
Hi @MichielDeMey, thanks for the comment, we should improve that part of the docs. Can you tell me more about your situation? Can you give an example of code snippet that you have using Does your case stem from this issue in the CLI or is it something else? |
Yep, looks like the code was originally generated by the CLI. |
For those coming here and tryign that old issue with CLI which is now gone, here's how you can migrate. From:
To:
|
I switched over to using the
I don't want to rename all my models to .cjs and I don't want to remove |
@mdodge-ecgrow did you find a solution? I have the same problem |
you need to use |
Pull Request check-list
Please make sure to review and check all of these items:
npm run test
ornpm run test-DIALECT
pass with this change (including linting)?Description of change
Closes #11739