Skip to content

Commit

Permalink
ENGCOM-5916: Added @deprecated to custom_attributes on CustomerAddres…
Browse files Browse the repository at this point in the history
…s 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
  • Loading branch information
magento-engcom-team committed Sep 20, 2019
2 parents 5860041 + 4fef8ad commit bd886b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/CustomerGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ input CustomerAddressInput {
prefix: String @doc(description: "An honorific, such as Dr., Mr., or Mrs.")
suffix: String @doc(description: "A value such as Sr., Jr., or III")
vat_id: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
custom_attributes: [CustomerAddressAttributeInput] @doc(description: "Address custom attributes")
custom_attributes: [CustomerAddressAttributeInput] @doc(description: "Deprecated: Custom attributes should not be put into container.")
}

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

Expand Down

0 comments on commit bd886b3

Please sign in to comment.