Gerrit Brehmer opened SPR-6380 and commented
I thought this was already done, because support for controller method-parameter validation should be available for all parameters.
I there a reason to exclude annotated (@RequestParam, etc.) method parameters? Is it not possible to validate primitive values?
Simple example:
For Paging-Support i need two request parameters: "start" & "size". "start" must have a positive value or 0 and "size" must have a positive value and also a maximum set.
Affects: 3.0 RC2, 4.0.5
Issue Links:
75 votes, 80 watchers
Gerrit Brehmer opened SPR-6380 and commented
I thought this was already done, because support for controller method-parameter validation should be available for all parameters.
I there a reason to exclude annotated (
@RequestParam, etc.) method parameters? Is it not possible to validate primitive values?Simple example:
For Paging-Support i need two request parameters: "start" & "size". "start" must have a positive value or 0 and "size" must have a positive value and also a maximum set.
Affects: 3.0 RC2, 4.0.5
Issue Links:
@Validon@PathVariable75 votes, 80 watchers