Juergen Hoeller opened SPR-15877 and commented
Following up on #20426 and #20101, there is still a case to be revisited: namely missing fields (without default values provided by Kotlin) which we currently inject as a null value. While this can be acceptable for object types, it leads to an IllegalArgumentException on construction for primitive types which is definitely worth improving. We could also reject such missing fields upfront if there are no default values or optional declarations for them.
Also, the WebFlux ModelAttributeMethodArgumentResolver needs to catch up around all of those RC4 refinements eventually.
Affects: 5.0 RC3
Issue Links:
Referenced from: commits ec345bf
1 votes, 4 watchers
Juergen Hoeller opened SPR-15877 and commented
Following up on #20426 and #20101, there is still a case to be revisited: namely missing fields (without default values provided by Kotlin) which we currently inject as a
nullvalue. While this can be acceptable for object types, it leads to anIllegalArgumentExceptionon construction for primitive types which is definitely worth improving. We could also reject such missing fields upfront if there are no default values or optional declarations for them.Also, the WebFlux
ModelAttributeMethodArgumentResolverneeds to catch up around all of those RC4 refinements eventually.Affects: 5.0 RC3
Issue Links:
@ConstructorProperties)Referenced from: commits ec345bf
1 votes, 4 watchers