-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
magento#26745 add method setAdditionalInformation to OrderPaymentInte… #26748
magento#26745 add method setAdditionalInformation to OrderPaymentInte… #26748
Conversation
Hi @antoninobonumore. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
Let's hope this one makes it in, a previous attempt for fixing this got stopped because it would be backwards incompatible, but now the code for Magento 2.4 is still open, it can probably be accepted? @rogyar ? |
@hostep this is also because I implemented this on this release line rather than 2.2 and 2.3 |
Hi. For 2.4 (as a minor version release) we may make backward-incompatible changes except changes to the functional structures marked as |
@rogyar: The version 2.4 is not the correct one here, we should be talking about the version of the Magento Sales module, which is at version 102.0.4 in Magento 2.3.4 |
Hi @hostep. I don't have this information either. But the main point is adding public methods to interface/API implementations is prohibited for both patch and minor releases (so it's prohibited in any case). |
@rogyar: A bump from 102.0.4 to 103.0.0 is a major version bump, right? |
@rogyar: after asking around a bit in #appdesign on the Slack workspace of Magento, it looks like this should be no problem to merge into 2.4-develop. So I would like to ask you to reconsider, thanks! 🙂 |
I would suggest implementing the setter and getter for as public functions in the |
Hi @hostep. After a recent discussion, I must admit that you are right. I'm approving this change. Thank you |
Hi @rogyar, thank you for the review.
|
Failed functional tests not related to the changes in this PR |
Hi @antoninobonumore, thank you for your contribution! |
It's good to see that this property is added, but how can we deal with the discrepancies between the 2 different API's that describe this implementation? If you look at
This might require some attention because it's quote confusing now. It looks like the |
Description (*)
No setter for additional_information in OrderPaymentInterface is defined: this is an inconsistency between its schema declaration and the real properties accepted.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
IMO this looks like an elephant in the room since this definition is missing from a long time in the definition of this interface
Contribution checklist (*)