Commit 06e46a0
committed
Fix DTO projection instantiation.
We now correctly instantiate DTO projection classes by using the actual constructor argument type. Previously, we did not update the conversion context to fetch the correct type but used the type of the DTO projection class instead of the constructor argument.
Closes #12921 parent 7b95d68 commit 06e46a0
File tree
2 files changed
+43
-2
lines changed- spring-data-cassandra/src
- main/java/org/springframework/data/cassandra/core/convert
- test/java/org/springframework/data/cassandra/core/convert
2 files changed
+43
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1466 | 1466 | | |
1467 | 1467 | | |
1468 | 1468 | | |
1469 | | - | |
| 1469 | + | |
1470 | 1470 | | |
1471 | 1471 | | |
1472 | 1472 | | |
1473 | | - | |
| 1473 | + | |
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
| |||
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
1081 | 1108 | | |
1082 | 1109 | | |
1083 | 1110 | | |
| |||
1340 | 1367 | | |
1341 | 1368 | | |
1342 | 1369 | | |
| 1370 | + | |
1343 | 1371 | | |
1344 | 1372 | | |
1345 | 1373 | | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1346 | 1379 | | |
1347 | 1380 | | |
1348 | 1381 | | |
1349 | 1382 | | |
1350 | 1383 | | |
1351 | 1384 | | |
1352 | 1385 | | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
1353 | 1394 | | |
1354 | 1395 | | |
1355 | 1396 | | |
| |||
0 commit comments