Skip to content

Commit f2627d6

Browse files
author
Prabhu Ram
committed
Merge branch 'PWA-1720' of github.com:magento-honey-badgers/magento2ce into PWA-1720
2 parents 828a468 + 224a4c4 commit f2627d6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ type Aggregation @doc(description: "A bucket that contains information for each
474474
label: String @doc(description: "The aggregation display name.")
475475
attribute_code: String! @doc(description: "Attribute code of the aggregation group.")
476476
options: [AggregationOption] @doc(description: "Array of options for the aggregation.")
477-
position: Int @doc(description: "The position of attribute in layered navigation block.")
477+
position: Int @doc(description: "The relative position of the attribute in a layered navigation block")
478478
}
479479

480480
interface AggregationOptionInterface @typeResolver(class: "Magento\\CatalogGraphQl\\Model\\AggregationOptionTypeResolverComposite") {

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ type Attribute @doc(description: "Attribute contains the attribute_type of the s
1515
attribute_type: String @doc(description: "The data type of the attribute")
1616
input_type: String @doc(description: "The frontend input type of the attribute")
1717
attribute_options: [AttributeOption] @resolver(class: "Magento\\EavGraphQl\\Model\\Resolver\\AttributeOptions") @doc(description: "Attribute options list.")
18-
storefront_properties: StorefrontProperties
18+
storefront_properties: StorefrontProperties @doc(description: "Contains details about the storefront properties configured for the attribute")
1919
}
2020

2121
type StorefrontProperties {
22-
use_in_product_listing: Boolean
23-
position: Int
24-
visible_on_catalog_pages: Boolean
25-
use_in_layered_navigation: UseInLayeredNavigationOptions
26-
use_in_search_results_layered_navigation: Boolean
22+
use_in_product_listing: Boolean @doc(description: "Indicates whether the attribute is displayed in product listings")
23+
position: Int @doc(description: "The relative position of the attribute in the layered navigation block")
24+
visible_on_catalog_pages: Boolean @doc(description: "Indicates whether the attribute is displayed on product pages")
25+
use_in_layered_navigation: UseInLayeredNavigationOptions @doc(description: "Indicates whether the attribute is filterable with results, without results, or not at all")
26+
use_in_search_results_layered_navigation: Boolean @doc(description: "Indicates whether the attribute can be used in layered navigation on search results pages")
2727
}
2828

2929
enum UseInLayeredNavigationOptions {

0 commit comments

Comments
 (0)