Open jerome281 opened 4 years ago
I've just updated WPGraphql to the latest version 0.10.0
I'm getting this error:
Fragment "GatsbyImageJobQuery" cannot be spread here as objects of type "NodeWithFeaturedImageToMediaItemConnectionEdge" can never be of type "MediaItem".
Here my fragment:
fragment GatsbyImageJobQuery on WPGraphQL_MediaItem { altText sourceUrl imageFile { childImageSharp { fixed(width: 120, height: 120) { srcSetWebp tracedSVG ...GatsbyImageSharpFixed } } } }
I've just updated WPGraphql to the latest version 0.10.0
I'm getting this error:
Fragment "GatsbyImageJobQuery" cannot be spread here as objects of type "NodeWithFeaturedImageToMediaItemConnectionEdge" can never be of type "MediaItem".
Here my fragment: