CustomerCart graphql: address country label getting code not full name
- Dominant language
- PHP
- Stars
- 12.2k
- Forks
- 9.4k
- PR merge metrics
- No merged PRs in 30d
Description
Magento version: **2.4.5**
Graphql: customerCart
Request:
`{
customerCart {
billing_address {
country {
label
code
}
firstname
lastname
}
shipping_addresses {
country {
label
code
}
}
}
}`
Response:
`{
"data": {
"customerCart": {
"billing_address": {
"country": {
"label": "DE",
"code": "DE"
},
"firstname": "Ronak",
"lastname": "Chauhan"
},
"shipping_addresses": [
{
"country": {
"label": "DE",
"code": "DE"
}
}
]
}
}
}`
Expected result:
`"country": {
"label": "Germany", // this should be full name of the country
"code": "DE"
},`
Contributor guide
Assessment
This issue has not been assessed yet.