gatsby-source-prismic-graphql
gatsby-source-prismic-graphql copied to clipboard
New fields added to repeatable type not showing in project
I added a rich text field to a repeatable type and this field cannot be queried with graph. I see that the field is in the prismic API via their website but cannot retrieve it with graphql in my project.
"GraphQLError: Cannot query field \"faketitleweadded\" on type \"PRISMIC_Jobs\"."
I've just come across this, some initial thoughts...
- Just check
faketitleweadded
is indeed onPRISMIC_Jobs
- If it exists on there it might need to be a Key Text type rather than Rich Text
- If it doesn't exist on thee then maybe you need to add that key to all types
NB this is a complete guess without seeing your code. I was originally trying to use TAGS but that doesn't work, so I'm now trying this.