-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Support { plain: true }
in typescript typings for sequelize.query
#11596
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
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! Please add at least one test to make sure your implementation works as intented and to prevent regressions in the future. Take a look into recent merged PRs to see how others created tests. If you have trouble, let me know. Testing the TypeScript typings consists simply on checking if some code can be compiled. In other words, a typings test is just some TS code that should compile. What it does when executed is irrelevant, the test is simply to compile it without errors, as can be seen in our CI configuration (using For good examples on how to write typescript typings, check the following PRs: #11368 #11379 #11520 Let me know if you need further help! |
{ plain: true }
in typescript typings{ plain: true }
in typescript typings for sequelize.query
Codecov Report
@@ Coverage Diff @@
## master #11596 +/- ##
==========================================
- Coverage 91.2% 84.66% -6.54%
==========================================
Files 92 90 -2
Lines 8985 8897 -88
==========================================
- Hits 8195 7533 -662
- Misses 790 1364 +574
Continue to review full report at Codecov.
|
@papb Added a test 👌 |
Hello! I ended up having direct improvement ideas for your PR while I was reviewing it. I decided to commit my ideas directly in your PR to save time for both of us :) Please let me know if you disagree with any of the changes I made. |
@papb Agree with the changes you made, should be sufficient! Also made a PR for the v5 branch, should probably cherry-pick the changes onto that branch. |
Thank you!! |
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 #11595
Related PR's
{ plain: true }
in typescript typings for sequelize.query #11929