-
Notifications
You must be signed in to change notification settings - Fork 845
Closed
Labels
type: discussionIssues discussing any topic.Issues discussing any topic.
Description
Description
The goal of this issue is to have an easy to digest overview over bugfixes and minor tweaks that improve the developer experience with class-validator, to make it easier for maintainers to know what to focus on.
Proposed solution
Review and merge the open PRs that fix bugs
Ready for maintainer review
- fix: assign
@NestedValidationerror to parent when property is not a class instance #673 - fix: typing #1464
- fix: allow number and boolean values in validation message "$value" tokens #1467
- fix: Add ignore parameter (taken from validatorjs) towards IsAlpha and IsAlphanumeric #1519 and/or fix: add type for locale in
@IsAlphanumericand@IsAlphadecorators #1740 - fix: read nullable option in
@IsNotEmptyObjectdecorator correctly #1555 - fix: Prevent error TS7016 by restoring
@types/validatortodependencies#1568 - docs: correct typo in JSDoc for
@IsHalfWidthdecorator #1575 - feat: trim input in
@IsEnumdecorator before comparsion #1700 - fix: correct "an url" typo to "a url" #1713
- fix: pass options to validator in
@IsDateStringdecorator #1720 - docs(IsDecimal): use correct docstring for IsDecimal #1502
- fix: correct grammar of error message in
@ArrayMaxSizedecorator #1752 - fix: Nested validations optimization #1048
Need some work still (mostly just rebase/merge)
- Fix: Update isPostalCode locale codes note #1044
- Fix: update 'no metadata found' error message #1127
- fix: add predicate for isBoolean #1301
- fix: set
forbidUnknownValuesto true by default #1403 - fix: IsPhoneNumber decorator did not validate correctly #1454
- docs: Clarify
forbidUnknownValues#1355
Don't have a PR yet
(comment if you know any other simple issues that should be tracked here!)
I'll try to look through issues to see if I can spot some.
PMudra, arkist, aaleksandrov, martin-juul and ImranSasudin
Metadata
Metadata
Assignees
Labels
type: discussionIssues discussing any topic.Issues discussing any topic.