class-validator icon indicating copy to clipboard operation
class-validator copied to clipboard

fix: options for @IsBase64 decorator are ignored

Open Clashsoft opened this issue 1 year ago • 1 comments

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 avatar Jan 12 '24 12:01 Clashsoft

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

Clashsoft avatar Jan 12 '24 12:01 Clashsoft