File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## NOT RELEASED
4
4
5
+ ### Added
6
+
7
+ - AWS api-change: Added ` UNKNOWN_FIELD ` constant in ` ValidationExceptionReason `
8
+
5
9
## 1.0.4
6
10
7
11
### Changed
Original file line number Diff line number Diff line change 28
28
},
29
29
"extra" : {
30
30
"branch-alias" : {
31
- "dev-master" : " 1.0 -dev"
31
+ "dev-master" : " 1.1 -dev"
32
32
}
33
33
}
34
34
}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ final class ValidationExceptionReason
8
8
public const FIELD_VALIDATION_FAILED = 'FieldValidationFailed ' ;
9
9
public const MISSING = 'Missing ' ;
10
10
public const OTHER = 'Other ' ;
11
+ public const UNKNOWN_FIELD = 'UnknownField ' ;
11
12
public const UNKNOWN_OPERATION = 'UnknownOperation ' ;
12
13
13
14
public static function exists (string $ value ): bool
@@ -17,6 +18,7 @@ public static function exists(string $value): bool
17
18
self ::FIELD_VALIDATION_FAILED => true ,
18
19
self ::MISSING => true ,
19
20
self ::OTHER => true ,
21
+ self ::UNKNOWN_FIELD => true ,
20
22
self ::UNKNOWN_OPERATION => true ,
21
23
][$ value ]);
22
24
}
You can’t perform that action at this time.
0 commit comments