You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/code/Magento/CompareListGraphQl/etc/schema.graphqls
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
typeComparableItem {
5
5
uid: ID!@doc(description: "The unique ID of an item in a compare list")
6
-
product: ProductInterface!
6
+
product: ProductInterface!@doc(description: "Contains details about a product in a compare list")
7
7
attributes: [ProductAttribute]!@doc(description: "An array of product attributes that can be used to compare products")
8
8
}
9
9
@@ -36,7 +36,7 @@ type Mutation {
36
36
createCompareList(input: CreateCompareListInput): CompareList@resolver(class: "\\Magento\\CompareListGraphQl\\Model\\Resolver\\CreateCompareList") @doc(description: "Creates a new compare list. The compare list is saved for logged in customers")
37
37
addProductsToCompareList(input: AddProductsToCompareListInput): CompareList@resolver(class: "\\Magento\\CompareListGraphQl\\Model\\Resolver\\AddProductsToCompareList") @doc(description: "Add products to the specified compare list")
38
38
removeProductsFromCompareList(input: RemoveProductsFromCompareListInput): CompareList@resolver(class: "\\Magento\\CompareListGraphQl\\Model\\Resolver\\RemoveProductsFromCompareList") @doc(description: "Remove products from the specified compare list")
39
-
assignCompareListToCustomer(uid: ID!): AssignCompareListToCustomerOutput@resolver(class: "\\Magento\\CompareListGraphQl\\Model\\Resolver\\AssignCompareListToCustomer") @doc(description: "Assign compare list to customer")
39
+
assignCompareListToCustomer(uid: ID!): AssignCompareListToCustomerOutput@resolver(class: "\\Magento\\CompareListGraphQl\\Model\\Resolver\\AssignCompareListToCustomer") @doc(description: "Assign the specified compare list to the logged in customer")
40
40
deleteCompareList(uid: ID!): DeleteCompareListOutput@resolver(class: "\\Magento\\CompareListGraphQl\\Model\\Resolver\\DeleteCompareList") @doc(description: "Delete the specified compare list")
0 commit comments