Hello Prismic people!
Trying to fetch my Prismic sliced data.
Query is quite simple:
query MyQuery {
allPrismicArticles(filter: {uid: {eq: "article-1"}}) {
edges {
node {
data {
body {
... on PrismicArticlesBodyText {
id
primary {
text {
html
text
raw
}}}}}}}}}
But somehow explorer returns me just this:
{
"data": {
"allPrismicArticles": {
"edges": []
}
},
"extensions": {}
}
You can see it here:
What am I doing wrong?
If I made query like this (without slices):
query MyQuery {
allPrismicArticle {
edges {
node {
data {
body {
primary {
text {
text
}
}
}
}
}
}
}
}
... correct data will return:




