-
Notifications
You must be signed in to change notification settings - Fork 397
Closed
Labels
status: needs triageIssues which needs to be reproduced to be verified report.Issues which needs to be reproduced to be verified report.type: fixIssues describing a broken feature.Issues describing a broken feature.
Description
Description
I was getting validation issue with the @queryParams decorator even without passing any query parameters.
Minimal code-snippet showcasing the problem
The error goes like this.
[
ValidationError {
target: GroupFilterModel {},
value: undefined,
property: undefined,
children: [],
constraints: {
unknownValue: 'an unknown value was passed to the validate function'
}
}
]
Expected behavior
There should not be any validation issue.
Actual behavior
Getting validation issue with undefined property.
When I checked the routing-controllers package.json peerDependency version of class-validator is 0.13.2. But the latest version is 0.14.0.
With the latest version I'm getting this error and when I did a downgrade to old 0.13.4, there is no error.
Thanks
Metadata
Metadata
Assignees
Labels
status: needs triageIssues which needs to be reproduced to be verified report.Issues which needs to be reproduced to be verified report.type: fixIssues describing a broken feature.Issues describing a broken feature.