Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit efd94fc

Browse files
committed
MAGETWO-89805: Add enough swatches information to render on storefront
1 parent f53cc9f commit efd94fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ input ProductSortInput {
1515

1616
interface SwatchLayerFilterItemInterface @typeResolver(class: "Magento\\SwatchesGraphQl\\Model\\Resolver\\SwatchLayerFilterItemResolver")
1717
{
18-
swatch_data: SwatchData @doc(description: "")
18+
swatch_data: SwatchData @doc(description: "Data required to render swatch filter item")
1919
}
2020

2121
type SwatchLayerFilterItem implements LayerFilterItemInterface, SwatchLayerFilterItemInterface
@@ -24,6 +24,6 @@ type SwatchLayerFilterItem implements LayerFilterItemInterface, SwatchLayerFilte
2424
}
2525

2626
type SwatchData {
27-
type: String @doc(description: "")
28-
value: String @doc(description: "")
27+
type: String @doc(description: "Type of swatch filter item: 1 - text, 2 - image")
28+
value: String @doc(description: "Value for swatch item (text or image link)")
2929
}

0 commit comments

Comments
 (0)