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

fix: enum string trim support for @IsEnum

Open rahul-rocket opened this issue 2 years ago • 0 comments

Description

Applied trim on enum string to removed unnecessary white space for @IsEnum() decorator.

Checklist

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

Fixes

fixes #[issue number], fixes #[issue number]

rahul-rocket avatar Jul 20 '22 10:07 rahul-rocket