-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[PropertyAccess] Non-standard adder/remover methods #13137
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
[PropertyAccess] Non-standard adder/remover methods #13137
Conversation
Fyi: Marked as "waiting code merge" as I think it depends on symfony/symfony#38515 |
@wouterj I does not depends on that PR, it was dependant on symfony/symfony#30704 which I finished a long time ago ^^ |
Oh, I'm sorry. I thought that PR only did changes to PropertyInfo and missed the big changes to the PropertyAccessor. |
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.
Thank you @Korbeil! I've proposed some changes to slightly improve the code example.
Can you please also add a versionadded directive like:
.. versionadded:: 5.1
Support for non-standard adder/remover methods was introduced in Symfony 5.1.
And at last, please rebase this PR on the 5.1 branch (using git rebase --onto origin/5.1 origin/master
).
If you don't have time to work on these changes (or something is unclear), please tell me and I'll finish this PR.
62f43d9
to
b710816
Compare
b710816
to
bf6cca9
Compare
@wouterj I made all requested changes |
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.
Thank you for the quick response @Korbeil!
Hi @Korbeil. I was about to merge this PR but I'm lost in all the core commits and PRs again.. This PR has got the "4.4" milestone, which makes me think it should be merged in 4.4. But it appears like the feature is introduced in 5.1. Can you please confirm which version should be used? |
@wouterj, As you can see in related PR: symfony/symfony#30704 It was firstly tagged in |
Yay, and finally it is merged. Thanks for your patience & contributions @Korbeil! |
Will add documentation about non-standard adder/remover methods for PropertyAccessor.
Related to #13023 and symfony/symfony#9336
This is not a complete documentation for related issues, but this will introduce one of the possible new use.