fix(model.d): accept [Op.is] in where (broken in TypeScript 4.4)#13499
Merged
Conversation
[Op.is] in where (broken in TypeScript 4.4)
zorji
commented
Sep 15, 2021
Contributor
Author
|
Reverted my change to |
Keimeno
approved these changes
Oct 10, 2021
Contributor
|
🎉 This PR is included in version 6.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
aliatsis
pushed a commit
to creditiq/sequelize
that referenced
this pull request
Jun 2, 2022
…uelize#13499) * fix(model.d): accept `[Op.is]` in where * fix(model.d): test `[Op.is]` in where Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com> Co-authored-by: Constantin Metz <58604248+Keimeno@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
The following code break since TypeScript 4.4.3 (it was working until 4.3.5).
Looks like before 4.3.5 it does not complain if I put excess properties, e.g. the following code can be compiled.