Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/code/Magento/CatalogUrlRewriteGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@

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

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

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

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