We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb6517 commit f52ba88Copy full SHA for f52ba88
app/code/Magento/CustomerGraphQl/Model/Customer/ExtractCustomerData.php
@@ -101,10 +101,13 @@ public function execute(CustomerInterface $customer): array
101
}
102
103
$customerData = array_merge($customerData, $customAttributes);
104
- //Field is deprecated and should not be exposed on storefront.
+ //Fields are deprecated and should not be exposed on storefront.
105
$customerData['group_id'] = null;
106
- $customerData['model'] = $customer;
107
$customerData['id'] = null;
+
108
+ $customerData['model'] = $customer;
109
110
+ //'dob' is deprecated, 'date_of_birth' is used instead.
111
if (!empty($customerData['dob'])) {
112
$customerData['date_of_birth'] = $customerData['dob'];
113
0 commit comments