fix(SW-190): added cache for content page query and added breadcrumbs fetching for content page
This commit is contained in:
38
lib/graphql/Fragments/Refs/ContentPage/Breadcrumbs.graphql
Normal file
38
lib/graphql/Fragments/Refs/ContentPage/Breadcrumbs.graphql
Normal file
@@ -0,0 +1,38 @@
|
||||
#import "../System.graphql"
|
||||
|
||||
fragment ContentPageBreadcrumbsRefs on ContentPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
parentsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on ContentPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
... on LoyaltyPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#import "./System.graphql"
|
||||
#import "../System.graphql"
|
||||
|
||||
fragment ContentPageRef on ContentPage {
|
||||
system {
|
||||
Reference in New Issue
Block a user