Masatoshi Tada opened SPR-16841 and commented
Immutable sample -> https://github.com/MasatoshiTada/spring-mvc-form-sample/tree/master/01-immutable
Mutable sample -> https://github.com/MasatoshiTada/spring-mvc-form-sample/tree/master/02-mutable
"Message" is constrained by @NotBlank and "Birthday" is constrained by @NotNull and @DateTimeFormat(pattern = "yyyy-MM-dd").
-
Behavior of mutable sample
Both values are validated (see "mutable.png")
-
Behavior of immutable sample
The only "Birthday" is validated (see "immutable.png")
Affects: 5.0.6
Reference URL: https://github.com/MasatoshiTada/spring-mvc-form-sample/blob/master/01-immutable/src/main/java/com/example/immutable/SampleForm.java
Attachments:
Issue Links:
Referenced from: commits 955665b
Masatoshi Tada opened SPR-16841 and commented
Immutable sample -> https://github.com/MasatoshiTada/spring-mvc-form-sample/tree/master/01-immutable
Mutable sample -> https://github.com/MasatoshiTada/spring-mvc-form-sample/tree/master/02-mutable
"Message" is constrained by
@NotBlankand "Birthday" is constrained by@NotNulland@DateTimeFormat(pattern = "yyyy-MM-dd").Behavior of mutable sample
Both values are validated (see "mutable.png")
Behavior of immutable sample
The only "Birthday" is validated (see "immutable.png")
Affects: 5.0.6
Reference URL: https://github.com/MasatoshiTada/spring-mvc-form-sample/blob/master/01-immutable/src/main/java/com/example/immutable/SampleForm.java
Attachments:
Issue Links:
@RequestBodyvalidation kotlin support improvementReferenced from: commits 955665b