Skip to content

Commit bd886b3

Browse files
ENGCOM-5916: Added @deprecated to custom_attributes on CustomerAddress via directi… #932
- Merge Pull Request magento/graphql-ce#932 from texboy/graphql-ce:issue-918-deprecate-customer-address-custom-attributes - Merged commits: 1. e7928d3 2. 4fef8ad
2 parents 5860041 + 4fef8ad commit bd886b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ input CustomerAddressInput {
3636
prefix: String @doc(description: "An honorific, such as Dr., Mr., or Mrs.")
3737
suffix: String @doc(description: "A value such as Sr., Jr., or III")
3838
vat_id: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
39-
custom_attributes: [CustomerAddressAttributeInput] @doc(description: "Address custom attributes")
39+
custom_attributes: [CustomerAddressAttributeInput] @doc(description: "Deprecated: Custom attributes should not be put into container.")
4040
}
4141

4242
input CustomerAddressRegionInput @doc(description: "CustomerAddressRegionInput defines the customer's state or province") {
@@ -115,7 +115,7 @@ type CustomerAddress @doc(description: "CustomerAddress contains detailed inform
115115
vat_id: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
116116
default_shipping: Boolean @doc(description: "Indicates whether the address is the default shipping address")
117117
default_billing: Boolean @doc(description: "Indicates whether the address is the default billing address")
118-
custom_attributes: [CustomerAddressAttribute] @doc(description: "Address custom attributes")
118+
custom_attributes: [CustomerAddressAttribute] @deprecated(reason: "Custom attributes should not be put into container")
119119
extension_attributes: [CustomerAddressAttribute] @doc(description: "Address extension attributes")
120120
}
121121

0 commit comments

Comments
 (0)