I'm on gatsby-source-prismic-graphql: ^3.5.0. gatsby: ^2.3.34
I have a Settings custom type. It is single and doesn't really need a slug.
I can't query it directly without going through edges array.
Same with my Home custom type. Without slug, it appears under prismic > allHomes. As soon as i add a slug it appears then in prismic > home.
I'm on gatsby-source-prismic-graphql: ^3.5.0. gatsby: ^2.3.34
I have a Settings custom type. It is single and doesn't really need a slug. I can't query it directly without going through edges array. Same with my Home custom type. Without slug, it appears under prismic > allHomes. As soon as i add a slug it appears then in prismic > home.
Can someone explain me why?