Skip to content

Commit 9ad3dac

Browse files
author
Jeremiah VALERIE
committed
Add failing test for #991
1 parent c39a52a commit 9ad3dac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Functional/App/config/validator/mapping/Period.types.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Period:
66
type: String!
77
validation:
88
- Date: ~
9+
- AtLeastOneOf:
10+
constraints:
11+
- GreaterThanOrEqual: '-100 years'
12+
message: "Year should be GreaterThanOrEqual -100."
13+
includeInternalMessages: false
914
endDate:
1015
type: String!
1116
validation:

0 commit comments

Comments
 (0)