Skip to content

Commit 7999100

Browse files
authored
Merge pull request #564 from adaamz/patch-1
Readme: replaced url pleerock/class-validator -> typestack/class-validator
2 parents b34f47e + ee0e05d commit 7999100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ export class UserController {
12881288
}
12891289
```
12901290
If the param doesn't satisfy the requirements defined by class-validator decorators,
1291-
an error will be thrown and captured by routing-controller, so the client will receive 400 Bad Request and JSON with nice detailed [Validation errors](https://github.com/pleerock/class-validator#validation-errors) array.
1291+
an error will be thrown and captured by routing-controller, so the client will receive 400 Bad Request and JSON with nice detailed [Validation errors](https://github.com/typestack/class-validator#validation-errors) array.
12921292
12931293
If you need special options for validation (groups, skipping missing properties, etc.) or transforming (groups, excluding prefixes, versions, etc.), you can pass them as global config as `validation ` in createExpressServer method or as a local `validate` setting for method parameter - `@Body({ validate: localOptions })`.
12941294

0 commit comments

Comments
 (0)