Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

#1029 Add Postcode as required depending of the country Mutation createCustomerAddress #1031

Conversation

osrecio
Copy link
Member

@osrecio osrecio commented Oct 27, 2019

Description (*)

Adding a validation with country and postcode to set is required for the mutation createCustomerAddress

Fixed Issues (if relevant)

  1. Postcode is not listed in the array of errors #1029: Postcode is not listed in the array of errors

Manual testing scenarios (*)

  1. Described in: Postcode is not listed in the array of errors #1029

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • [] All new or changed code is covered with unit/integration tests (if applicable)
  • [] All automated tests passed successfully (all builds are green)

@osrecio osrecio force-pushed the 1029-postcode-required-customerCreate branch 2 times, most recently from 20e0aac to 216e4b9 Compare October 27, 2019 12:08
@osrecio osrecio force-pushed the 1029-postcode-required-customerCreate branch from 216e4b9 to 676cd1b Compare October 27, 2019 12:10
@okorshenko
Copy link
Contributor

Hi @osrecio
It would be great to cover this change with GraphQL test

@okorshenko
Copy link
Contributor

💡New dependency on Magento\Directory module should be approved via Magento Approval Request. It is pre-approved right now with @maghamed during the contribution day. Customer module does not have the proper API to execute this logic.

@osrecio osrecio requested a review from buskamuza as a code owner October 27, 2019 13:27
@@ -4,15 +4,15 @@
"type": "magento2-module",
"require": {
"php": "~7.1.3||~7.2.0||~7.3.0",
"magento/module-customer": "*",
Copy link
Member Author

Choose a reason for hiding this comment

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

I deleted because is duplicated

@TomashKhamlai
Copy link
Contributor

Please take a look at Case 3 in #1032

@lenaorobei
Copy link
Contributor

@osrecio could you please address the failed test case found by @TomashKhamlai. Thank you.

@magento-engcom-team
Copy link
Contributor

Hi @lenaorobei, thank you for the review.
ENGCOM-6255 has been created to process this Pull Request
✳️ @lenaorobei, could you please add one of the following labels to the Pull Request?

Label Description
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests
Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests
Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests

@ghost
Copy link

ghost commented Nov 14, 2019

Hi @osrecio, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

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

Successfully merging this pull request may close these issues.

5 participants