Skip to content

fix: fail for non-array constraint in @IsIn decorator - #1844

Merged
NoNameProvided merged 1 commit into
developfrom
feat/fix-isin-non-array-constraint
Dec 9, 2022
Merged

NoNameProvided merged 1 commit into
developfrom
feat/fix-isin-non-array-constraint

Conversation

@NoNameProvided

Copy link
Copy Markdown
Member

Description

This PR fixes an error in @IsIn decorator that allowed values to pass validation when the constraint was not an array.

Checklist

  • the pull request title describes what this PR does (not a vague title like Update index.md)
  • the pull request targets the default branch of the repository (develop)
  • the code follows the established code style of the repository
    • npm run prettier:check passes
    • npm run lint:check passes
  • tests are added for the changes I made (if any source code was modified)
  • documentation added or updated
  • I have run the project locally and verified that there are no errors

Fixes

references #1693

@github-actions

github-actions Bot commented Jan 9, 2023

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant