Commit d79fb99
committed
fix: handle non-standard field casing in MapContains queries
Modified processMapContainsQuery to support Map fields with uppercase/non-standard casing
(e.g., 'Positions' instead of 'positions'). The method now tries both the standard
lowercase naming convention and the original field name when resolving Map fields.
This fixes repository methods like findByPositionsMapContainsCusip when the Java field
uses non-standard casing to match JSON data from external sources like RIOT exports.1 parent e2d3ce4 commit d79fb99
File tree
3 files changed
+182
-376
lines changed- redis-om-spring/src/main/java/com/redis/om/spring/repository/query
- tests/src/test/java/com/redis/om/spring
- annotations/document
- fixtures/document/model
3 files changed
+182
-376
lines changedLines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
428 | 431 | | |
429 | 432 | | |
430 | 433 | | |
431 | | - | |
| 434 | + | |
432 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
433 | 446 | | |
434 | 447 | | |
435 | 448 | | |
| |||
0 commit comments