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/ConfigurableProductGraphQl/etc/schema.graphqls
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ type Mutation {
7
7
typeConfigurableProductimplementsProductInterface, PhysicalProductInterface, CustomizableProductInterface@doc(description: "ConfigurableProduct defines basic features of a configurable product and its simple product variants") {
8
8
variants: [ConfigurableVariant] @doc(description: "An array of variants of products") @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\ConfigurableVariant")
typeConfigurableOptionsSelectionMetadata@doc(description: "Metadata corresponding to the configurable options selection.") {
83
+
typeConfigurableProductOptionsSelection@doc(description: "Metadata corresponding to the configurable options selection.") {
84
84
options_available_for_selection: [ConfigurableOptionAvailableForSelection!] @doc(description: "Configurable options available for further selection based on current selection.")
85
85
media_gallery: [MediaGalleryInterface!] @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\SelectionMediaGallery") @doc(description: "Product images and videos corresponding to the specified configurable options selection.")
86
86
variant: SimpleProduct@resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\Variant\\Variant") @doc(description: "Variant represented by the specified configurable options selection. It is expected to be null, until selections are made for each configurable option.")
Copy file name to clipboardExpand all lines: dev/tests/api-functional/testsuite/Magento/GraphQl/ConfigurableProduct/ConfigurableOptionsSelectionMetadataTest.php
+29-29Lines changed: 29 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,8 @@ public function testWithoutSelectedOption()
63
63
html
64
64
}
65
65
... on ConfigurableProduct {
66
-
configurable_options_selection_metadata(
67
-
selectedConfigurableOptionValues: []
66
+
configurable_product_options_selection(
67
+
configurableOptionValueUids: []
68
68
) {
69
69
options_available_for_selection {
70
70
option_value_uids
@@ -78,11 +78,11 @@ public function testWithoutSelectedOption()
0 commit comments