Skip to content

Commit 898f824

Browse files
committed
updated README
1 parent fc60a37 commit 898f824

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ generates:
241241
# Replace $1 with specified `startsWith` argument value of the constraint directive
242242
startsWith: [matches, /^$1/]
243243
format:
244+
# This example means `validation-schema: directive-arg`
245+
# directive-arg is supported String and Enum.
244246
email: email
245247
```
246248
@@ -279,6 +281,8 @@ generates:
279281
# Replace $1 with specified `startsWith` argument value of the constraint directive
280282
startsWith: [regex, /^$1/, message]
281283
format:
284+
# This example means `validation-schema: directive-arg`
285+
# directive-arg is supported String and Enum.
282286
email: email
283287
```
284288

0 commit comments

Comments
 (0)