Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Validator] Pass context to expressions used inWhen constraints#58512
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedOct 9, 2024
Hey! I see that this is your first PR. That is great! Welcome! Symfony has acontribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
carsonbot commentedOct 9, 2024
Hey! Thanks for your PR. You are targeting branch "7.2" but it seems your PR description refers to branch "7.2 for features / 5.4, 6.4, and 7.1 for bug fixes". Cheers! Carsonbot |
KoNekoD commentedOct 9, 2024
@xabbuh Looks like it passed the tests(+-). What do you think of this feature? |
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Works for me (ExpressionValidator already has this)
Can you please add a line in the CHANGELOG of the component and a test case?
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Can you please rebase to get rid of the merge commit?
Uh oh!
There was an error while loading.Please reload this page.
KoNekoD commentedOct 9, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@nicolas-grekas rebased. I'm having trouble setting up the tests. CI is too long to do it quickly. Is there any way to set up vendors locally? I'm currently getting an error when installing from a docker container It is very frustrating that there is no Dockerfile and docker-compose to download dependencies or somehow resolve for it |
4b1eedf tofc9d69bComparealexandre-daubois commentedOct 9, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
You can have a local PHP installation (not in Docker) with |
KoNekoD commentedOct 9, 2024
@nicolas-grekas done |
When constraints4637bf0 tof05ce63Comparefabpot commentedOct 10, 2024
Thank you@KoNekoD. |
6e9c993 intosymfony:7.2Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
I encountered a problem with validation of nested entities and I needed to validate by parent field, if draft true then no validation is needed