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/WishlistGraphQl/etc/schema.graphqls
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,21 @@ type Query {
5
5
wishlist: WishlistOutput@resolver(class: "\\Magento\\WishlistGraphQl\\Model\\Resolver\\WishlistResolver") @doc(description: "The wishlist query returns the contents of a customer's wish list") @cache(cacheable: false)
typeWishlistOutput@doc(description: "Deprecated: 'Wishlist' type should be used instead") {
13
+
items: [WishlistItem] @resolver(class: "\\Magento\\WishlistGraphQl\\Model\\Resolver\\WishlistItemsResolver") @doc(description: "Deprecated: use field `items` from type `Wishlist`"),
14
+
items_count: Int@doc(description: "Deprecated: use field `items_count` from type `Wishlist`"),
15
+
name: String@doc(description: "Deprecated."),
16
+
sharing_code: String@doc(description: "Deprecated: use field `sharing_code` from type `Wishlist`"),
17
+
updated_at: String@doc(description: "Deprecated: use field `updated_at` from type `Wishlist`")
18
+
}
19
+
20
+
typeWishlist {
9
21
items: [WishlistItem] @resolver(class: "\\Magento\\WishlistGraphQl\\Model\\Resolver\\WishlistItemsResolver") @doc(description: "An array of items in the customer's wish list"),
10
22
items_count: Int@doc(description: "The number of items in the wish list"),
11
-
name: String@doc(description: "When multiple wish lists are enabled, the name the customer assigns to the wishlist"),
12
23
sharing_code: String@doc(description: "An encrypted code that Magento uses to link to the wish list"),
13
24
updated_at: String@doc(description: "The time of the last modification to the wish list")
0 commit comments