Trouble modifying Gatsby schema to query childImageSharp #39087
Unanswered
LMSG-Gatsby
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello team,
I am working on a gatsby with Drupal CMS project and am currently facing an issue regarding gatsby-plugin-image with the images coming from the CMS.
tags with components but I seem to miss on something in the typeDef schema or graphql query as I am getting this warning during the build process :
I am trying to replace all my
warn You can't use childImageSharp together with undefined.undefined — use publicURL instead. The childImageSharp portion of the query in this file will return null:undefined
Here is my schema :
and here is my gql query in the paragraph template:
My issue is about the "imageBis" field, it is a duplicate of "image" but tried some changes to be able to query childImageSharp.
Am I missing on something in the query ?
Thanks a lot for any help.
Beta Was this translation helpful? Give feedback.
All reactions