feat: revalidate my pages breadcrumbs on demand

This commit is contained in:
Simon Emanuelsson
2024-04-16 12:42:44 +02:00
committed by Michael Zetterberg
parent ba13a00b63
commit 0c4aa592cc
24 changed files with 322 additions and 57 deletions
@@ -1,7 +1,7 @@
fragment MyPagesBreadcrumbs on AccountPage {
breadcrumbs {
title
parents: parentsConnection {
parentsConnection {
edges {
node {
... on AccountPage {
@@ -9,6 +9,7 @@ fragment MyPagesBreadcrumbs on AccountPage {
title
}
system {
locale
uid
}
url
@@ -0,0 +1,20 @@
#import "./System.graphql"
fragment MyPagesBreadcrumbsRefs on AccountPage {
breadcrumbs {
parentsConnection {
edges {
node {
... on AccountPage {
system {
...System
}
}
}
}
}
}
system {
...System
}
}