Skip to content

Commit 068c1ce

Browse files
authored
ENGCOM-5346: Added filter nfinset in product search #528
2 parents dc74c48 + 0aebe29 commit 068c1ce

File tree

5 files changed

+1
-31
lines changed

5 files changed

+1
-31
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type Mutation {
99

1010
input FilterTypeInput @doc(description: "FilterTypeInput specifies which action will be performed in a query ") {
1111
eq: String @doc(description: "Equals")
12-
finset: [String] @doc(description: "Find in set. The value can contain a set of comma-separated values")
12+
finset: [String] @deprecated (reason: "The finset filter is deprecated. Magento doesn't recomend to store comma separated values, therefore finset filter is redundant.")
1313
from: String @doc(description: "From. Must be used with 'to'")
1414
gt: String @doc(description: "Greater than")
1515
gteq: String @doc(description: "Greater than or equal to")

dev/tests/integration/testsuite/Magento/Framework/GraphQl/_files/schemaA.graphqls

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ type Mutation {
88

99
input FilterTypeInput @doc(description:"Comment for FilterTypeInput") {
1010
eq: String @doc(description:"Equal")
11-
finset: [String]
1211
from: String
1312
gt: String
1413
gteq: String

dev/tests/integration/testsuite/Magento/Framework/GraphQl/_files/schemaC.graphqls

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ type Attribute @doc(description: "Attribute contains the attribute_type of the s
1919
}
2020
input FilterTypeInput @doc(description:"Comment for FilterTypeInput") {
2121
eq: String @doc(description:"Equal")
22-
finset: [String]
2322
from: String
2423
gt: String
2524
gteq: String

dev/tests/integration/testsuite/Magento/Framework/GraphQl/_files/schema_response_sdl_description.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -505,20 +505,6 @@
505505
],
506506
'defaultValue' => null
507507
],
508-
[
509-
'name' => 'finset',
510-
'description' => '',
511-
'type' => [
512-
'kind' => 'LIST',
513-
'name' => null,
514-
'ofType' => [
515-
'kind' => 'SCALAR',
516-
'name' => 'String',
517-
'ofType' => null
518-
]
519-
],
520-
'defaultValue' => null
521-
],
522508
[
523509
'name' => 'from',
524510
'description' => '',

dev/tests/integration/testsuite/Magento/Framework/GraphQl/_files/schema_with_description_sdl.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -505,20 +505,6 @@
505505
],
506506
'defaultValue' => null
507507
],
508-
[
509-
'name' => 'finset',
510-
'description' => '',
511-
'type' => [
512-
'kind' => 'LIST',
513-
'name' => null,
514-
'ofType' => [
515-
'kind' => 'SCALAR',
516-
'name' => 'String',
517-
'ofType' => null
518-
]
519-
],
520-
'defaultValue' => null
521-
],
522508
[
523509
'name' => 'from',
524510
'description' => '',

0 commit comments

Comments
 (0)