fix(types): relax order typing#10802
Conversation
|
hmm now Maybe we define explicitly up to 5 or 10 levels? Not perfect either but prevents wrong usage as shown above 🤔 |
947be6f to
c339659
Compare
Codecov Report
@@ Coverage Diff @@
## master #10802 +/- ##
===========================================
+ Coverage 74.54% 96.35% +21.81%
===========================================
Files 85 94 +9
Lines 8186 9008 +822
===========================================
+ Hits 6102 8680 +2578
+ Misses 2084 328 -1756
Continue to review full report at Codecov.
|
c339659 to
b6186b5
Compare
|
@eseliger Please take another look @SimonSchick I added tests |
|
needs rebase |
ca97322 to
fd56e99
Compare
|
@eseliger done |
|
When can we expect this change to be merged? |
|
🎉 This PR is included in version 5.9.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…ndle-deadlock * 'master' of github.com:sequelize/sequelize: (22 commits) docs(migrations): use timestamps with seed (sequelize#11160) test: remove redundant test (sequelize#11156) fix(types): add literal to possible where options (sequelize#10990) fix(model): don't alter original scopes when combining them (sequelize#10722) fix(types): relax order typing (sequelize#10802) fix(types): add string to Includeable (sequelize#11003) docs(models-definition): correct spelling mistakes (sequelize#11147) fix(types): silent option for update (sequelize#11115) fix: update sequelize-pool (sequelize#11134) feat(hooks): beforeDisconnect / afterDisconnect (sequelize#11117) refactor: remove unused _templateSettings refactor(query-generation): remove lodash string templates (sequelize#11122) docs: improve datatype docs docs: explain defaults/where behavior for find/create (sequelize#11069) build: remove test*.js from .gitignore (sequelize#11108) docs(data-types): extending types fix(sequelize.close): update sequelize-pool (sequelize#11101) build: update dependencies (sequelize#11099) docs(migrations): foreign key example (sequelize#11097) fix(mariadb): properly escape json path key (sequelize#11089) ...
|
🎉 This PR is included in version 7.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Pull Request check-list
Please make sure to review and check all of these items:
npm run testornpm run test-DIALECTpass with this change (including linting)?Description of change
Relax type
orderchecking in queries, because we can have multiple nester models and or strings etc. I'm not sure we can do better than this.Closes #10780