Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[ExpressionLanguage] Fix dumping of null safe operator#61076
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
fabpot merged 1 commit intosymfony:6.4fromivantsepp:expression_language_dumping_null_safeJul 10, 2025
Merged
[ExpressionLanguage] Fix dumping of null safe operator#61076
fabpot merged 1 commit intosymfony:6.4fromivantsepp:expression_language_dumping_null_safeJul 10, 2025
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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
stof approved these changesJul 9, 2025
Spomky approved these changesJul 9, 2025
fabpot approved these changesJul 10, 2025
Member
fabpot commentedJul 10, 2025
Thank you@ivantsepp. |
8460cc9 intosymfony:6.4 9 of 11 checks passed
Uh oh!
There was an error while loading.Please reload this page.
This was referencedJul 31, 2025
Merged
Merged
Merged
1 task
Sign up for freeto 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.
I noticed that when you dump an expression that uses null safe operator, the returned string doesn't maintain the null safe operator.
I would have expected
user?.footo be returned instead.(I've also fixed some test data providers cases -
getDumpDataprovider should only generate cases with 2 elements but some tests are including a third argument. So I went ahead and removed them)