Skip to content

Commit 8790241

Browse files
committed
#30218 GraphQL returns null address if optional telephone is set as empty string
1 parent 26acabe commit 8790241

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/QuoteGraphQl/etc/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ input CartAddressInput {
116116
region_id: Int
117117
postcode: String
118118
country_code: String!
119-
telephone: String!
119+
telephone: String
120120
save_in_address_book: Boolean @doc(description: "Determines whether to save the address in the customer's address book. The default value is true")
121121
}
122122

@@ -222,7 +222,7 @@ interface CartAddressInterface @typeResolver(class: "\\Magento\\QuoteGraphQl\\Mo
222222
region: CartAddressRegion
223223
postcode: String
224224
country: CartAddressCountry!
225-
telephone: String!
225+
telephone: String
226226
}
227227

228228
type ShippingCartAddress implements CartAddressInterface {

0 commit comments

Comments
 (0)