-
Notifications
You must be signed in to change notification settings - Fork 286
Fix constructor to support all Sequelize options #120
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
Conversation
bcca678 to
a0d08cb
Compare
Codecov Report
@@ Coverage Diff @@
## master #120 +/- ##
==========================================
+ Coverage 96.48% 96.49% +<.01%
==========================================
Files 99 99
Lines 911 912 +1
Branches 121 122 +1
==========================================
+ Hits 879 880 +1
Misses 11 11
Partials 21 21
Continue to review full report at Codecov.
|
|
@RobinBuschmann Hey, what do you think ? I think this is the last issue that is blocking us to get this in production! A beta.2 today would be AWESOME! |
test/utils/sequelize.ts
Outdated
| export function createSequelizeValidationOnly(useModelsInPath: boolean = true): Sequelize { | ||
|
|
||
| return new Sequelize({ | ||
| dialect: 'sqlite', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bilby91 Whats the purpose of adding the dialectoption here?
|
I'm not sure why it was working before. v4 requires a dialect to be explicitly defined. |
|
Strange, there seem to have happened an issue earlier caused by another pull request I think. There is a
When you add |
|
@RobinBuschmann Want me to add it ? |
|
It depends... does it build without If it is building, then we should create another pull request for this issue. |
|
@RobinBuschmann Changing this |
|
If we remove the |
|
When |
|
|
|
Here the reason why it compiles with |
a0d08cb to
1de8ae4
Compare
|
@RobinBuschmann Good. Got it. It was not working localy because I though Now it should be good to go |
|
Thanks for the awesome feedback loop @RobinBuschmann . Can we get a beta.2 🎉 ? |
|
Thank you for fixing this :) Its done |
|
@RobinBuschmann Thanks!! |
Fixes #119