-
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
Fix #12802 - allow to override preference over CartInterface and return correct object from QuoteRepository #22149
Fix #12802 - allow to override preference over CartInterface and return correct object from QuoteRepository #22149
Conversation
Hi @Bartlomiejsz. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
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.
Really nice @Bartlomiejsz!
According to my understanding such change is backward compatible, asking @sivaschenko to double check.
Please mark quoteFactory
property as deprecated.
After changes are applied and all builds are green, please squash them into a single commit so that we have perfectly clean history 😉
5ae1e42
to
4430f64
Compare
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.
Hi @Bartlomiejsz thanks for the pull request, please see my review 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.
After changes are applied and all builds are green, please squash them into a single commit so that we have perfectly clean history 😉
…Api\Data\CartInterface and return correct object from QuoteRepository (+4 squashed commits) Squashed commits: [55b9f3ec52b] Fix magento#12802 - fix phpmd, mark quoteFactory as deprecated [56ca9a42468] Fix magento#12802 - change condition in quoteRepository [734212812a4] Fix magento#12802 - revert change of constructor parameters names [ba8ad543e0f] Fix magento#12802 - remove instanceof condition
ba8ad54
to
865d7df
Compare
@orlangur commits are squashed now |
Hi @orlangur, thank you for the review. |
…12802_quote_not_overridable
Hi @Bartlomiejsz, thank you for your contribution! |
…face and return correct object from QuoteRepository #22149
Description (*)
This is fix for #12802
Fixed Issues (if relevant)
Manual testing scenarios (*)
Steps are described in #12802
Contribution checklist (*)