Skip to content

Commit

Permalink
docs: remove mention of unsupported each option for custom decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Goncharov authored and NoNameProvided committed Jul 19, 2018
1 parent 43c6108 commit 3cf418d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ Lets create a decorator called `@IsLongerThan`:
title: string;
@IsLongerThan("title", {
/* you can also use additional validation options, like "each", "groups" in your custom validation decorators */
/* you can also use additional validation options, like "groups" in your custom validation decorators. "each" is not supported */
message: "Text must be longer than the title"
})
text: string;
Expand Down

0 comments on commit 3cf418d

Please sign in to comment.