We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Versions
I'm submitting a ... [x] bug report [ ] feature request
Actual behavior: @isin validation type described like it allowed only for string[][] type
Expected behavior: But should allow for numbers also too. It was fixed in validator that sequelize use: validatorjs/validator.js#185 validatorjs/validator.js@5c4cbf7
Do not to see any reasons to limitation here.
Related code:
@IsIn([1, 10, 100]) @Column({ type: DataTypes.SMALLINT, allowNull: false, }) type: number
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Versions
I'm submitting a ...
[x] bug report
[ ] feature request
Actual behavior:
@isin validation type described like it allowed only for string[][] type
Expected behavior:
But should allow for numbers also too. It was fixed in validator that sequelize use:
validatorjs/validator.js#185
validatorjs/validator.js@5c4cbf7
Do not to see any reasons to limitation here.
Related code:
The text was updated successfully, but these errors were encountered: