Skip to content

Commit

Permalink
Fixed canonical urls (scandipwa/scandipwa#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredsgenkins committed Aug 26, 2020
1 parent 4c42a2c commit 3b38e0d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 132 deletions.
64 changes: 0 additions & 64 deletions src/Model/Resolver/Category/CanonicalUrl.php

This file was deleted.

64 changes: 0 additions & 64 deletions src/Model/Resolver/Product/CanonicalUrl.php

This file was deleted.

3 changes: 0 additions & 3 deletions src/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
<preference for="Magento\CatalogGraphQl\Model\Resolver\Product\MediaGalleryEntries"
type="ScandiPWA\CatalogGraphQl\Model\Resolver\Product\MediaGalleryEntries"/>

<preference for="Magento\CatalogGraphQl\Model\Resolver\Product\CanonicalUrl"
type="ScandiPWA\CatalogGraphQl\Model\Resolver\Product\CanonicalUrl"/>

<preference for="Magento\CatalogGraphQl\Model\Resolver\Category\Products"
type="ScandiPWA\CatalogGraphQl\Model\Resolver\Category\Products"/>

Expand Down
1 change: 0 additions & 1 deletion src/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ interface ProductInterface {

interface CategoryInterface {
url: String @resolver(class: "ScandiPWA\\CatalogGraphQl\\Model\\Resolver\\Category\\Url")
canonical_url: String @doc(description: "Canonical Url") @resolver(class: "ScandiPWA\\CatalogGraphQl\\Model\\Resolver\\Category\\CanonicalUrl")
}

type AttributeWithValue {
Expand Down

0 comments on commit 3b38e0d

Please sign in to comment.