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/QuoteGraphQl/etc/schema.graphqls
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -373,18 +373,18 @@ type Order {
373
373
order_id: String@deprecated(reason: "The order_id field is deprecated, use order_number instead.")
374
374
}
375
375
376
-
typeCheckoutUserInputError@doc(description:"An error encountered while adding an item to the the cart.") {
376
+
typeCartUserInputError@doc(description:"An error encountered while adding an item to the the cart.") {
377
377
message: String!@doc(description: "A localized error message")
378
378
path: [String]!@doc(description: "Path to the input field that caused an error. See the GraphQL specification about path errors for details: http://spec.graphql.org/draft/#sec-Errors")
Copy file name to clipboardExpand all lines: app/code/Magento/WishlistGraphQl/etc/schema.graphqls
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -49,12 +49,12 @@ input WishlistItemInput @doc(description: "Defines the items to add to a wish li
49
49
50
50
typeAddProductsToWishlistOutput@doc(description: "Contains the customer's wish list and any errors encountered") {
51
51
wishlist: Wishlist!@doc(description: "Contains the wish list with all items that were successfully added")
52
-
userInputErrors:[CheckoutUserInputError]!@doc(description: "An array of errors encountered while adding products to a wish list")
52
+
userInputErrors:[WishListUserInputError]!@doc(description: "An array of errors encountered while adding products to a wish list")
53
53
}
54
54
55
55
typeRemoveProductsFromWishlistOutput@doc(description: "Contains the customer's wish list and any errors encountered") {
56
56
wishlist: Wishlist!@doc(description: "Contains the wish list with after items were successfully deleted")
57
-
userInputErrors:[CheckoutUserInputError]!@doc(description:"An array of errors encountered while deleting products from a wish list")
57
+
userInputErrors:[WishListUserInputError]!@doc(description:"An array of errors encountered while deleting products from a wish list")
58
58
}
59
59
60
60
inputWishlistItemUpdateInput@doc(description: "Defines updates to items in a wish list") {
@@ -67,5 +67,16 @@ input WishlistItemUpdateInput @doc(description: "Defines updates to items in a w
67
67
68
68
typeUpdateProductsInWishlistOutput@doc(description: "Contains the customer's wish list and any errors encountered") {
69
69
wishlist: Wishlist!@doc(description: "Contains the wish list with all items that were successfully updated")
70
-
userInputErrors:[CheckoutUserInputError]!@doc(description:"An array of errors encountered while updating products in a wish list")
70
+
userInputErrors:[WishListUserInputError]!@doc(description:"An array of errors encountered while updating products in a wish list")
71
+
}
72
+
73
+
typeWishListUserInputError@doc(description:"An error encountered while performing operations with WishList.") {
74
+
message: String!@doc(description: "A localized error message")
75
+
path: [String]!@doc(description: "Path to the input field that caused an error. See the GraphQL specification about path errors for details: http://spec.graphql.org/draft/#sec-Errors")
0 commit comments