Skip to content

Commit 13098ef

Browse files
authored
Merge pull request #2 from DeadDance202/dev/swatch-types
swatch types refactoring and verion up
2 parents b563d92 + 930e247 commit 13098ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"mageworx/module-optionfeatures" : ">=2.31.8"
99
},
1010
"type": "magento2-module",
11-
"version": "2.1.0",
11+
"version": "2.1.1",
1212
"license": [
1313
"OSL-3.0",
1414
"AFL-3.0"

etc/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ type Query {
1515
advancedProductOptionsSettings : AdvancedProductOptionsSettings @resolver(class: "MageWorx\\OptionGraphQl\\Model\\Resolver\\AdvancedProductOptionsSettings") @doc(description: "The query returns advanced product option configuration settings")
1616
swatchMediaData (
1717
productSku : String @doc(description: "Product SKU")
18-
width : String @doc(description: "Page image width")
19-
height : String @doc(description: "Page image height")
18+
width : Int @doc(description: "Page image width")
19+
height : Int @doc(description: "Page image height")
2020
): SwatchMediaData @resolver(class: "MageWorx\\OptionGraphQl\\Model\\Resolver\\SwatchMediaData") @doc(description: "The query returns swatch media data")
2121
}
2222

0 commit comments

Comments
 (0)