-
Notifications
You must be signed in to change notification settings - Fork 154
#271 [My Account] Add support of Customer attributes #489
#271 [My Account] Add support of Customer attributes #489
Conversation
- Customer attributes validation added
- Updating API functional test: adding
- Customer attributes validation added for create customer action
- Updating API functional test: adding empty first name scenario for customer account creation API
Thank you for creating this PR. There could be some delays in processing this because we focus our effort on Cart operations. Please be patient. |
Thanks for the update! |
…ation Conflicts: dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/CreateCustomerTest.php
Hello @furseyev, |
@naydav , Thanks for the update! |
app/code/Magento/CustomerGraphQl/Model/Customer/CreateCustomerAccount.php
Outdated
Show resolved
Hide resolved
*/ | ||
public function execute(): array | ||
{ | ||
$attributes = $this->eavConfig->getEntityAttributes( |
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.
Could we load just some attributes fields (via collection) instead of loading the whole attribute entity?
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.
Done
app/code/Magento/CustomerGraphQl/Model/Customer/UpdateCustomerAccount.php
Outdated
Show resolved
Hide resolved
Sorry for the delay. PR is updated. Thanks! |
Fixed except this one:
I though we should ignore coupling limitation for now. Please let me know if this changed and I will check how this can be fixed. Thanks! |
… validation of customer creation
@magento run all tests |
…ation Conflicts: app/code/Magento/CustomerGraphQl/Model/Customer/CreateCustomerAccount.php app/code/Magento/CustomerGraphQl/Model/Customer/UpdateCustomerAccount.php
@naydav , |
Hi @lenaorobei, thank you for the review.
|
Hi @furseyev, thank you for your contribution! |
Description (*)
Frontend customer attributes validation added for graphQL update and create customer.
#271 [My Account] Add support of Customer attributes