This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
Postcode is not listed in the array of errors #1029
Closed
Description
Preconditions (*)
No preconditions
Steps to reproduce (*)
- Perform mutation as a Customer
mutation {
createCustomerAddress(
input: {
country_id: AF
#country_code: "AF"
city: "1"
firstname: "2"
lastname: "3"
}
) {
country_id
#country_code
city
firstname
lastname
}
}
Expected result (*)
{
"errors": [
{
"message": "Required parameters are missing: street, telephone, postcode",
"extensions": {
"category": "graphql-input"
},
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"createCustomerAddress"
]
}
],
"data": {
"createCustomerAddress": null
}
}
Actual result (*)
{
"errors": [
{
"message": "Required parameters are missing: street, telephone",
"extensions": {
"category": "graphql-input"
},
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"createCustomerAddress"
]
}
],
"data": {
"createCustomerAddress": null
}
}