Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pdevito3/QueryKit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.4
Choose a base ref
...
head repository: pdevito3/QueryKit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.9.5
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Sep 28, 2025

  1. fix: add support for method calls in derived property expressions

    Previously, using method calls like ToLower() in derived property expressions
    would throw: System.NotSupportedException: Expression type 'Call' is not supported
    
    This fix adds comprehensive handling for method calls in the GetFullPropertyPath
    method, supporting both instance methods (x.Property.ToLower()) and static methods.
    
    Changes:
    - Enhanced GetFullPropertyPath to handle general method call expressions
    - Added logic to process method arguments and build proper string representation
    - Distinguishes between instance and static method calls
    
    Example of now-supported expressions:
    - config.DerivedProperty<Order>(x => x.Payment.Value.ToLower() == "full")
    - config.DerivedProperty<Recipe>(x => x.Title.ToLower() == x.Title)
    
    Tests added to verify the fix works correctly with various method call scenarios.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    pdevito3 and claude committed Sep 28, 2025
    Configuration menu
    Copy the full SHA
    7357ffc View commit details
    Browse the repository at this point in the history
  2. build: v1.9.5

    pdevito3 committed Sep 28, 2025
    Configuration menu
    Copy the full SHA
    0a42817 View commit details
    Browse the repository at this point in the history
Loading