Skip to content

Commit 6ff0c12

Browse files
committed
MC-18450: Allow custom attributes to be filterable and also returned in the layered navigation the product filter section in GraphQL
- fix schema descriptions
1 parent 7fa0efb commit 6ff0c12

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ input FilterTypeInput @doc(description: "FilterTypeInput specifies which action
6565
nin: [String] @doc(description: "Not in. The value can contain a set of comma-separated values")
6666
}
6767

68-
input FilterEqualTypeInput @doc(description: "Specifies which action will be performed in a query ") {
69-
in: [String] @doc(description: "In. The value can contain a set of comma-separated values")
70-
eq: String @doc(description: "Equals")
68+
input FilterEqualTypeInput @doc(description: "Defines a filter that matches the input exactly.") {
69+
in: [String] @doc(description: "An array of values to filter on")
70+
eq: String @doc(description: "A string to filter on")
7171
}
7272

73-
input FilterRangeTypeInput @doc(description: "Specifies which action will be performed in a query ") {
74-
from: String @doc(description: "From")
75-
to: String @doc(description: "To")
73+
input FilterRangeTypeInput @doc(description: "Defines a filter that matches a range of values, such as prices or dates.") {
74+
from: String @doc(description: "The beginning of the range")
75+
to: String @doc(description: "The end of the range")
7676
}
7777

78-
input FilterMatchTypeInput @doc(description: "Specifies which action will be performed in a query ") {
79-
match: String @doc(description: "Match. Can be used for fuzzy matching.")
78+
input FilterMatchTypeInput @doc(description: "Defines a filter that performs a fuzzy search.") {
79+
match: String @doc(description: "One or more words to filter on")
8080
}
8181

8282
type SearchResultPageInfo @doc(description: "SearchResultPageInfo provides navigation for the query response") {

0 commit comments

Comments
 (0)