Merged in feat/rework-contentstack (pull request #3493)
Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation * Remove all REFS * Revalidate correct language * PR fixes * PR fixes * Throw when errors from contentstack api Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationCountryPageBreadcrumbs = gql`
|
||||
@@ -23,23 +20,3 @@ export const GetDestinationCountryPageBreadcrumbs = gql`
|
||||
${Breadcrumbs}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const GetDestinationCountryPageBreadcrumbsRefs = gql`
|
||||
query GetDestinationCountryPageBreadcrumbsRefs(
|
||||
$locale: String!
|
||||
$uid: String!
|
||||
) {
|
||||
destination_country_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${BreadcrumbsRefs}
|
||||
${System}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user