Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lamenath/4d75811549fd34726bae32f19ce38175 to your computer and use it in GitHub Desktop.
Save lamenath/4d75811549fd34726bae32f19ce38175 to your computer and use it in GitHub Desktop.
Prismic GraphQL query example for fetching fields from a linked doc within a Slice
{
allSuccessStorys {
edges {
node {
body {
... on SuccessStoryBodyCta_block {
primary {
cta {
... on Inline_cta {
title
subheading
long_description
cta_url
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment