theodo-fintech / spring-search

Provides advanced search capabilities to a JPA entity
MIT License
193 stars 44 forks source link

feat: add gt lt for string and allow to search 'like value' with case… #81

Closed reifocS closed 9 months ago

reifocS commented 9 months ago

… sensitive

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

GT, LT and BETWEEN does not work for string values.
It is not possible to search with * wildcard and casesentitive flag to true Issue Number: N/A

What is the new behavior?

User can now search string value using these operators. He can also search with * with and case sensitivity enabled

Does this PR introduce a breaking change?

Other information

codecov[bot] commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (bc92dc8) 83.55% compared to head (bd6956c) 83.00%. Report is 6 commits behind head on master.

Files Patch % Lines
...kotlin/com/sipios/springsearch/QueryVisitorImpl.kt 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #81 +/- ## ============================================ - Coverage 83.55% 83.00% -0.56% - Complexity 115 123 +8 ============================================ Files 22 22 Lines 298 306 +8 Branches 41 43 +2 ============================================ + Hits 249 254 +5 - Misses 23 28 +5 + Partials 26 24 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.