Skip to content

Commit

Permalink
LYNX-155: Update documentation of queries/mutations to include introd…
Browse files Browse the repository at this point in the history
…uces custom_attributes fields (#113)
  • Loading branch information
loginesta authored May 9, 2023
1 parent b570647 commit 047257a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/code/Magento/CustomerGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ input CustomerAddressInput @doc(description: "Contains details about a billing o
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: [AttributeValueInput] @doc(description: "Deprecated: Custom attributes should not be put into container.")
custom_attributes: [AttributeValueInput] @doc(description: "Custom attributes assigned to the customer address.")
}

input CustomerAddressRegionInput @doc(description: "Defines the customer's state or province.") {
Expand Down Expand Up @@ -163,7 +163,7 @@ type CustomerAddress @doc(description: "Contains detailed information about a cu
default_shipping: Boolean @doc(description: "Indicates whether the address is the customer's default shipping address.")
default_billing: Boolean @doc(description: "Indicates whether the address is the customer's default billing address.")
custom_attributes: [CustomerAddressAttribute] @deprecated(reason: "Use custom_attributesV2 instead.")
custom_attributesV2: [AttributeValueInterface!]! @doc(description: "Customer address' custom attributes.")
custom_attributesV2: [AttributeValueInterface!]! @doc(description: "Custom attributes assigned to the customer address.")
extension_attributes: [CustomerAddressAttribute] @doc(description: "Contains any extension attributes for the address.")
}

Expand All @@ -175,7 +175,7 @@ type CustomerAddressRegion @doc(description: "Defines the customer's state or pr

type CustomerAddressAttribute @doc(description: "Specifies the attribute code and value of a customer address attribute.") {
attribute_code: String @doc(description: "The name assigned to the customer address attribute.")
value: String @doc(description: "The valuue assigned to the customer address attribute.")
value: String @doc(description: "The value assigned to the customer address attribute.")
}

type IsEmailAvailableOutput @doc(description: "Contains the result of the `isEmailAvailable` query.") {
Expand Down
6 changes: 3 additions & 3 deletions app/code/Magento/EavGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ type StorefrontProperties @doc(description: "Indicates where an attribute can be

input AttributeValueInput @doc(description: "Specifies the value for attribute.") {
attribute_code: String! @doc(description: "The code of the attribute.")
value: String @doc(description: "The value which should be set for the attribute")
selected_options: [AttributeInputSelectedOption!] @doc(description: "An array with selected option(s) for select or multiselect attribute")
value: String @doc(description: "The value assigned to the attribute.")
selected_options: [AttributeInputSelectedOption!] @doc(description: "An array containing selected options for a select or multiselect attribute.")
}

input AttributeInputSelectedOption @doc(description: "Specifies selected option for dropdown or multiselect attribute value .") {
Expand Down Expand Up @@ -153,7 +153,7 @@ type AttributeSelectedOption implements AttributeSelectedOptionInterface {
input AttributeValueInput {
attribute_code: String! @doc(description: "The attribute code.")
value: String @doc(description: "The attribute value.")
selected_options: [AttributeInputSelectedOption!] @doc(description: "An array with selected option(s) for select or multiselect attribute")
selected_options: [AttributeInputSelectedOption!] @doc(description: "An array containing selected options for a select or multiselect attribute.")
}

input AttributeInputSelectedOption @doc(description: "Specifies selected option for dropdown or multiselect attribute value .") {
Expand Down

0 comments on commit 047257a

Please sign in to comment.