Payload validation: @Boolean
decorator from class-validator
seems to accept strings as true
#18
Labels
status: duplicate
This issue or pull request already exists
Describe the bug
@Boolean
decorator fromclass-validator
seems to accept strings astrue
To Reproduce
Run the e2e tests and the
● Create a user (e2e) › Payload validation › should not accept payload with invalid banned
must break.Expected behavior
Non boolean values must not pass the payload validation
The text was updated successfully, but these errors were encountered: