You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
typeEntityUrl@doc(description: "EntityUrl is an output object containing the `id`, `canonical_url`, and `type` attributes") {
4
+
typeEntityUrl@doc(description: "EntityUrl is an output object containing the `id`, `relative_url`, and `type` attributes") {
5
5
id: Int@doc(description: "The ID assigned to the object associated with the specified url. This could be a product ID, category ID, or page ID.")
6
-
canonical_url: String@doc(description: "The internal relative URL. If the specified url is a redirect, the query returns the redirected URL, not the original.")
6
+
relative_url: String@doc(description: "The internal relative URL. If the specified url is a redirect, the query returns the redirected URL, not the original.")
7
7
type: UrlRewriteEntityTypeEnum@doc(description: "One of PRODUCT, CATEGORY, or CMS_PAGE.")
8
8
}
9
9
10
10
typeQuery {
11
-
urlResolver(url: String!): EntityUrl@resolver(class: "Magento\\UrlRewriteGraphQl\\Model\\Resolver\\UrlRewrite") @doc(description: "The urlResolver query returns the canonical URL for a specified product, category or CMS page")
11
+
urlResolver(url: String!): EntityUrl@resolver(class: "Magento\\UrlRewriteGraphQl\\Model\\Resolver\\UrlRewrite") @doc(description: "The urlResolver query returns the relative URL for a specified product, category or CMS page")
0 commit comments