-
Notifications
You must be signed in to change notification settings - Fork 9.4k
9007: Get MAGETWO-52856 into Magento 2.1.x #11640
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
Conversation
* @return \Magento\Quote\Api\CartRepositoryInterface | ||
* @deprecated | ||
*/ | ||
private function getCartRepository() |
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.
Please try injecting this dependency as an optional constructor argument. Please refer to Backwards Compatible Development Guide for more information
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.
@ishakhsuvarov Done.
[EngCom] Public Pull Requests - 2.1-develop - MAGETWO-82527: Backport MAGETWO-52856 into Magento 2.1.x #11640
) { | ||
$this->billingAddressManagement = $billingAddressManagement; | ||
$this->paymentMethodManagement = $paymentMethodManagement; | ||
$this->cartManagement = $cartManagement; | ||
$this->paymentDetailsFactory = $paymentDetailsFactory; | ||
$this->cartTotalsRepository = $cartTotalsRepository; | ||
$this->cartRepository = $cartRepository ? : \Magento\Framework\App\ObjectManager::getInstance() |
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.
Why using the object manager in the constructor?
Backport MAGETWO-52856 from 2.2.0 to 2.1 - develop
Description
Provide seamless experience on checkout with large amount of customer addresses.
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist