-
Notifications
You must be signed in to change notification settings - Fork 156
Throw InputException if 'country_code'-parameter is missing #1044
Throw InputException if 'country_code'-parameter is missing #1044
Conversation
Hi @hAmpzter, thank you for your contribution! |
Please address this problem
|
You can run this command block before committing the changes in the terminal of your IDE if you want to get the same error on your local environment: php `pwd`/vendor/phpunit/phpunit/phpunit \
--configuration `pwd`/dev/tests/static/phpunit.xml.dist \
`pwd`/dev/tests/static/testsuite/Magento/Test/Php; It checks all modified files. So if you want to check files after committing you can simply add one empty line at the end of the file. Hope this helps. |
@lenaorobei, can you imagine how many "if"s we need here for any other issue? Please look at #1046 |
app/code/Magento/QuoteGraphQl/Model/Cart/QuoteAddressFactory.php
Outdated
Show resolved
Hide resolved
Co-Authored-By: Tomash Khamlai <TomashKhamlai@users.noreply.github.com>
@magento run Database Compare |
Hi @hAmpzter. The schema looks following: input CartAddressInput {
firstname: String!
lastname: String!
company: String
street: [String!]!
city: String!
region: String
postcode: String
country_code: String!
telephone: String!
save_in_address_book: Boolean
}
Closing this PR since the framework bug is assigned to the internal team. |
Hi @hAmpzter, thank you for your contribution! |
Description (*)
Made changes according to wanted result in issue. Throws error if
country_code
-parameter is missing.Fixed Issues (if relevant)
Manual testing scenarios (*)
country_code
Questions or comments
See comment/question in issue: #1041 (comment)
Contribution checklist (*)