Repository navigation
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11676 +/- ##
=========================================
+ Coverage 87.76% 96.26% +8.5%
=========================================
Files 92 94 +2
Lines 9095 9192 +97
=========================================
+ Hits 7982 8849 +867
+ Misses 1113 343 -770
Continue to review full report at Codecov.
|
|
Hello! I see you are a first-time contributor, thank you for taking the time to help Sequelize! I hope to see more PRs from you in the future! And sorry to take so long to reply. Are you still working on this? Looks like the test added by this PR is failing. |
|
I thought it was complete as the tests were working locally, except for one random unrelated test. I'll have a look at the CI jobs. |
|
Ah, MSSQL failures. Locally those tests hang at I think the test data setup is OK as the tests pass for pg and mysql. On the other hand I didn't change any dialect type stuff other than ignoring the include/exclude as field names. Maybe mssql has a different code path for include/exclude handling? |
|
Actually tests are failing for everything except SQLite, please take another look at the failing checks |
|
I think that's got it, the new test wasn't waiting for one of the test promises so there was some odd timing issues. btw I get "We couldn't find the repository sequelize/sequelize" when I try to view the travis-ci details. |
Really? Like when you go here? Can you paste a screenshot? (in case you don't know, you can just ctrl+v an image directly in the comment box) |
|
Hi again @mhio, I observed that although your PR does fix the issue as stated in #10719, the bug is more severe than what was mentioned in the issue. When reviewing your PR I observed that not only include/exclude causes a bug, but also simply using I have found a solution and will open a PR soon. |
|
|
@mhio Thanks for the reply, that is really really odd, @sushantdhiman do you have any idea what could be happening for travis to not show? |
|
Oh sorry, my bad. Don't worry about the travis error. That was just a third party asset that wasn't loading. It was just a weird way for travis to display the error. |

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
Closes #10719
Ignore
include/excludeattributes that are included in a scope when running increment/decrement viaQueryGenerator.arithmeticQueryOne test was already failing prior to and after testing:
Test from @ALiangLiang included - ALiangLiang@be03653 with a small update to make the
decrementassert work.