class-validator
class-validator copied to clipboard
feature: url safe base64 validation
Description
There should be a way to validate url safe base64.
Proposed solution
Add validator.IsBase64Options
as optional constraints to the isBase64
decorator.
Interesting how this is not getting any attention at all
Just bumped into this problem.
Seems like a no brainer, since this is just catching up to the upstream features.
Anyone want to make a PR?
It seems like this repo was abandoned. The last non-automated commit was 10 months ago despite a lot of of open issues/PRs.
For now you can use patch-package to fix this by yourself.
It seems like this repo was abandoned. The last non-automated commit was 10 months ago despite a lot of of open issues/PRs.
For now you can use patch-package to fix this by yourself.
I have made this issue about the matter. Chime in if you're interested in trying to revive the project!
Fixed in https://github.com/typestack/class-validator/pull/1845.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.