Hey there,
I've been following this tutorial and after figuring out how to get the gatsby-source-prismic
plugin working my graphql queries look bizarre and nothing like what I see on any examples of what Prismic queries should look like.
For example, the tutorial says I should be able to query prismicAllHomepage
for banner titles, text, and everything else you should be able to grab from that document, however, I don't see any of that. It looks like I can query the homepage document 5 different ways with queries like: allPrismicHomepageBodyFullWidthImage
, allPrismicHomepageBodyText
that give me different results.
Is this intended? I'm coming from Sanity.io, which gives you very similar graphql queries, at least I thought so. I don't really understand how I'm supposed to work with what I'm seeing right now. Can anyone help me out and explain what's going on here?