typestack / class-validator

Decorator-based property validation for classes.
MIT License
10.86k stars 785 forks source link

fix: options for @IsBase64 decorator are ignored #2374

Open Clashsoft opened 8 months ago

Clashsoft commented 8 months ago

Description

See https://github.com/typestack/class-validator/pull/1845/files#diff-020eb68c18b00e6111d4f45ca7c83b4d43646ac381ab4a646308fa7789e46812L24

The options argument is never passed to the isBase64 function.

Expected behavior

The options argument is not ignored.

Actual behavior

The options argument is ignored.

Related

PR #1845

Clashsoft commented 8 months ago

In addition, that PR was a breaking change. @NoNameProvided