Case insensitive operator translation#102
Merged
pdevito3 merged 5 commits intopdevito3:mainfrom Feb 19, 2026
Merged
Conversation
20b9126 to
5d16d9e
Compare
Owner
|
Develop is out of date sorry. Changed to main to focus on your changes |
Contributor
Author
|
oh I did a rebase already, sorry for the mess. |
Owner
|
I'll try and take a look tonight |
Bumps [Bogus](https://github.com/bchavez/Bogus) from 35.4.0 to 35.6.1. - [Release notes](https://github.com/bchavez/Bogus/releases) - [Changelog](https://github.com/bchavez/Bogus/blob/master/HISTORY.md) - [Commits](bchavez/Bogus@v35.4.0...v35.6.1) --- updated-dependencies: - dependency-name: Bogus dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Introduces the CaseInsensitiveMode enum to control whether case-insensitive string comparisons use ToLower/LOWER or ToUpper/UPPER. Adds global and per-property configuration for this mode in QueryKitConfiguration, QueryKitSettings, and QueryKitPropertyMapping. Refactors all relevant string comparison logic and operators to honor the selected case transformation, enabling consistent and customizable case-insensitive behavior for various data normalization scenarios.
Added unit tests to verify QueryKit's handling of case-insensitive string comparisons. Tests cover default, global, and per-property case-insensitive modes, ensuring correct use of ToLower or ToUpper in generated filter expressions for all relevant operators. Per-property settings are confirmed to override global configuration.
Expanded DatabaseFilteringTests to cover case-insensitive string filtering using QueryKit with CaseInsensitiveMode.Upper and per-property overrides. Tests include all relevant operators and verify correct behavior for uppercase data, mixed-case queries, and property-specific settings. Increases reliability and coverage for filtering logic.
Document new CaseInsensitiveMode option in QueryKit, including usage examples for global and per-property settings. Explains benefits for uppercase-normalized data and index efficiency.
5d16d9e to
01510a3
Compare
Owner
|
Looked great! Thanks for another contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Classification
New feature and documentation update to enhance case-insensitive string comparison configuration in QueryKit.
PR Summary
This PR adds configurable case-insensitive string comparison modes (ToLower/ToUpper) for QueryKit filters, supporting both global and per-property settings. It also updates documentation and tests to reflect the new functionality.
Issues
Solves #101