Skip to content

Commit 8c4de4d

Browse files
author
Prabhu Ram
committed
minor schema updates
1 parent b4e5ace commit 8c4de4d

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

app/code/Magento/CatalogGraphQl/etc/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ type StoreConfig @doc(description: "The type contains information about a store
493493
root_category_id: Int @doc(description: "The ID of the root category") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\RootCategoryId")
494494
}
495495

496-
type SimpleWishlistItem implements WishlistItemInterface @doc(description: "A simple product wishlist Item") {
496+
type SimpleWishlistItem implements WishlistItemInterface @doc(description: "A simple product wish list Item") {
497497
}
498498

499-
type VirtualWishlistItem implements WishlistItemInterface @doc(description: "A virtual product wishlist item") {
499+
type VirtualWishlistItem implements WishlistItemInterface @doc(description: "A virtual product wish list item") {
500500
}

app/code/Magento/ConfigurableProductGraphQl/etc/schema.graphqls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type SelectedConfigurableOption {
6969
value_label: String!
7070
}
7171

72-
type ConfigurableWishlistItem implements WishlistItemInterface @doc(description: "A configurable product wishlist item"){
72+
type ConfigurableWishlistItem implements WishlistItemInterface @doc(description: "A configurable product wish list item"){
7373
child_sku: String! @doc(description: "The SKU of the simple product corresponding to a set of selected configurable options") @resolver(class: "\\Magento\\ConfigurableProductGraphQl\\Model\\Wishlist\\ChildSku")
7474
configurable_options: [SelectedConfigurableOption!] @resolver(class: "\\Magento\\ConfigurableProductGraphQl\\Model\\Wishlist\\ConfigurableOptions") @doc (description: "An array of selected configurable options")
7575
}

app/code/Magento/DownloadableGraphQl/etc/schema.graphqls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type DownloadableProductSamples @doc(description: "DownloadableProductSamples de
6565
sample_file: String @deprecated(reason: "`sample_url` serves to get the downloadable sample")
6666
}
6767

68-
type DownloadableWishlistItem implements WishlistItemInterface @doc(description: "A downloadable product wishlist item") {
68+
type DownloadableWishlistItem implements WishlistItemInterface @doc(description: "A downloadable product wish list item") {
6969
links_v2: [DownloadableProductLinks] @doc(description: "An array containing information about the selected links") @resolver(class: "\\Magento\\DownloadableGraphQl\\Model\\Wishlist\\ItemLinks")
7070
samples: [DownloadableProductSamples] @doc(description: "An array containing information about the selected samples") @resolver(class: "Magento\\DownloadableGraphQl\\Resolver\\Product\\Samples")
7171
}

app/code/Magento/WishlistGraphQl/etc/schema.graphqls

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ type Customer {
99
wishlists(
1010
pageSize: Int = 20 @doc(description: "Specifies the maximum number of results to return at once. This attribute is optional."),
1111
currentPage: Int = 1 @doc(description: "Specifies which page of results to return. The default value is 1.")
12-
): [Wishlist!]! @doc(description: "An array of wishlists. In Magento Open Source, customers are limited to one wishlist. The number of wishlists is not restricted for Magento Commerce") @resolver(class:"\\Magento\\WishlistGraphQl\\Model\\Resolver\\CustomerWishlists")
12+
): [Wishlist!]! @doc(description: "An array of wishlists. In Magento Open Source, customers are limited to one wish list. The number of wish lists is configurable for Magento Commerce") @resolver(class:"\\Magento\\WishlistGraphQl\\Model\\Resolver\\CustomerWishlists")
1313
wishlist: Wishlist! @deprecated(reason: "Use `Customer.wishlists` or `Customer.wishlist_v2`") @resolver(class:"\\Magento\\WishlistGraphQl\\Model\\Resolver\\CustomerWishlistResolver") @doc(description: "Contains a customer's wish lists") @cache(cacheable: false)
14-
wishlist_v2(id: ID!): Wishlist @doc(description: "Retrieve the specified wishlist") @resolver(class: "\\Magento\\WishlistGraphQl\\Model\\Resolver\\WishlistById")
14+
wishlist_v2(id: ID!): Wishlist @doc(description: "Retrieve the specified wish list") @resolver(class: "\\Magento\\WishlistGraphQl\\Model\\Resolver\\WishlistById")
1515
}
1616

1717
type WishlistOutput @doc(description: "Deprecated: `Wishlist` type should be used instead") {
@@ -32,10 +32,10 @@ type Wishlist {
3232
}
3333

3434
interface WishlistItemInterface @typeResolver(class: "Magento\\WishlistGraphQl\\Model\\Resolver\\Type\\WishlistItemType") {
35-
id: ID @doc(description: "The ID of the wish list item")
36-
quantity: Float @doc(description: "The quantity of this wish list item")
35+
id: ID! @doc(description: "The ID of the wish list item")
36+
quantity: Float! @doc(description: "The quantity of this wish list item")
3737
description: String @doc(description: "The description of the item")
38-
added_at: String @doc(description: "The date and time the item was added to the wish list")
38+
added_at: String! @doc(description: "The date and time the item was added to the wish list")
3939
product: ProductInterface @doc(description: "Product details of the wish list item") @resolver(class: "\\Magento\\WishlistGraphQl\\Model\\Resolver\\ProductResolver")
4040
customizable_options: [SelectedCustomizableOption] @doc(description: "Custom options selected for the wish list item")
4141
}

0 commit comments

Comments
 (0)