We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee9678 commit e674b77Copy full SHA for e674b77
README.md
@@ -26,10 +26,15 @@ composer require micro/dto
26
<property name="email" type="string">
27
<validation>
28
<not_blank/>
29
- <length min="6" max="50"/>
30
- <regex pattern="/^(.[aA-zA]+)$/"/>
+ <email/>
31
</validation>
32
</property>
+ <property name="username" type="string">
33
+ <validation>
34
+ <length min="6" max="50"/>
35
+ <regex pattern="/^(.[aA-zA]+)$/"/>
36
+ </validation>
37
+ </property>
38
<property name="age" type="int">
39
40
<not_blank groups="put"/>
0 commit comments