I'm learning Gatsby and GraphQL as a newbie and following this article https://ibaslogic.com/gatsby-with-contentful-cms/
It has this code:
export const query = graphql`
query($slug: String!) {
contentfulBlogPost(slug: { eq: $slug }) {
title
publishedDate(formatString: "Do MMMM, YYYY")
featuredImage {
fluid(maxWidth: 750) {
...GatsbyContentfulFluid
}
}
}
}
`
I'm getting everything but not getting ...GatsbyContentfulFluid
on my GraphQL query server.
C
an someone please explain what ...GatsbyContentfulFluid
is?
Why we are using it with a spread operator?
and did I miss something while creating Contentful data that's why I'm not getting ...GatsbyContentfulFluid
in my GQL query playground?