-
Notifications
You must be signed in to change notification settings - Fork 694
Commit 47abad4
Avoid matching multipart parameters annotated with
The ProxyHandlerMethodArgumentResolver now avoids matching multipart parameters annotated with @ModelAttribute. This allows multipart parameters to be handled by RequestParamMethodArgumentResolver which properly handles multipart arguments.
Also, the `@ProjectedPayload` annotation can now be used on parameters. This prepares for the upcoming removal of support for non-annotated projections.
Fixes #3258
Related tickets #2937
Original pull request: #3277
Signed-off-by: Chris Bono <chris.bono@broadcom.com>@ModelAttribute
1 parent 6c4952c commit 47abad4
File tree
3 files changed
+42
-8
lines changed- src
- main/java/org/springframework/data/web
- test/java/org/springframework/data/web
3 files changed
+42
-8
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 | - | ||
19 | - | ||
20 | - | ||
21 | 18 |
| |
19 | + | ||
22 | 20 |
| |
21 | + | ||
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
29 | + | ||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | - | ||
35 | - | ||
34 | + | ||
35 | + | ||
36 | 36 |
| |
37 | 37 |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | + | ||
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
45 | + | ||
44 | 46 |
| |
45 | 47 |
| |
46 | 48 |
| |
| |||
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
91 | - | ||
92 | - | ||
93 | - | ||
93 | + | ||
94 | + | ||
95 | + | ||
94 | 96 |
| |
95 | 97 |
| |
96 | 98 |
| |
|
Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 | + | ||
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
36 | + | ||
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| |||
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | + | ||
98 | + | ||
99 | + | ||
100 | + | ||
101 | + | ||
102 | + | ||
103 | + | ||
104 | + | ||
105 | + | ||
106 | + | ||
107 | + | ||
108 | + | ||
109 | + | ||
110 | + | ||
111 | + | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
91 | 117 |
| |
92 | 118 |
| |
93 | 119 |
| |
| |||
112 | 138 |
| |
113 | 139 |
| |
114 | 140 |
| |
141 | + | ||
142 | + | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + | ||
115 | 147 |
| |
116 | 148 |
|
0 commit comments