Skip to content
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

[OrderBundle, CoreBundle] Serialize OrderInvoice, OrderShipment, OrderInvoiceItem and OrderShipmentItem with JMS Serializer #1129

Merged
merged 9 commits into from
Oct 10, 2019

Conversation

dlhck
Copy link
Contributor

@dlhck dlhck commented Oct 9, 2019

Q A
Bug fix? no
New feature? yes/no
BC breaks? no
Deprecations? no
Fixed tickets -

Improve memory efficiency with serializing order document object also with JMS serializer

@@ -300,7 +303,7 @@ protected function getInvoices($order)
'cancel',
], false);

$data = $this->getDataForObject($invoice);
$data = $this->getSerializer()->toArray($invoice);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add BC param check here pls

@@ -327,12 +330,7 @@ protected function getShipments($order)
$shipmentArray = [];

foreach ($shipments as $shipment) {
$data = $this->getDataForObject($shipment);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add BC param check here pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants