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

Merged
merged 1 commit into from
Jun 13, 2025

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

@nicolas-grekas
Copy link
Member

Thank you @alexandre-daubois.

@nicolas-grekas nicolas-grekas merged commit 9915db5 into symfony:7.3 Jun 13, 2025
9 of 11 checks passed
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