Skip to content

Commit d7d36fb

Browse files
committed
Merge remote-tracking branch 'engcom/ENGCOM-5289-magento-graphql-ce-721' into graphql-develop-prs-fast
2 parents b130557 + d7e6e74 commit d7d36fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33

44
interface ProductInterface {
55
url_key: String @doc(description: "The part of the URL that identifies the product")
6-
url_path: String @doc(description: "The part of the URL that precedes the url_key")
6+
url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead")
77
url_rewrites: [UrlRewrite] @doc(description: "URL rewrites list") @resolver(class: "Magento\\UrlRewriteGraphQl\\Model\\Resolver\\UrlRewrite")
88
}
99

1010
input ProductFilterInput {
1111
url_key: FilterTypeInput @doc(description: "The part of the URL that identifies the product")
12-
url_path: FilterTypeInput @doc(description: "The part of the URL that precedes the url_key")
12+
url_path: FilterTypeInput @deprecated(reason: "Use product's `canonical_url` or url rewrites instead")
1313
}
1414

1515
input ProductSortInput {
1616
url_key: SortEnum @doc(description: "The part of the URL that identifies the product")
17-
url_path: SortEnum @doc(description: "The part of the URL that precedes the url_key")
17+
url_path: SortEnum @deprecated(reason: "Use product's `canonical_url` or url rewrites instead")
1818
}
1919

2020
enum UrlRewriteEntityTypeEnum @doc(description: "This enumeration defines the entity type.") {

0 commit comments

Comments
 (0)