Skip to content

[JsonPath] Fix subexpression evaluation in filters #60504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 7.3
Choose a base branch
from

Conversation

alexandre-daubois
Copy link
Member

@alexandre-daubois alexandre-daubois commented May 21, 2025

Q A
Branch? 7.3
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

This PR fixes complex expressions in filters evaluation like $.store.book[?(@.publisher.address.city == "Springfield")] or $.store.book[?match(@.publisher.*.city, "Spring.+")].

It also brings better support to the @ operator when used alone.

@carsonbot carsonbot added this to the 7.3 milestone May 21, 2025
@fabpot fabpot modified the milestones: 7.3, 7.4 May 26, 2025
@alexandre-daubois alexandre-daubois changed the base branch from 7.4 to 7.3 June 2, 2025 11:52
@alexandre-daubois alexandre-daubois modified the milestones: 7.4, 7.3 Jun 2, 2025
@alexandre-daubois
Copy link
Member Author

Changed the base branch again to 7.3 as it's a bug fix

@nicolas-grekas
Copy link
Member

small rebase needed please

@alexandre-daubois
Copy link
Member Author

Here you go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy