Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

New fields added to repeatable type not showing in project #241

Open
r-saba opened this issue Jul 19, 2020 · 1 comment
Open

New fields added to repeatable type not showing in project #241

r-saba opened this issue Jul 19, 2020 · 1 comment

Comments

@r-saba
Copy link

r-saba commented Jul 19, 2020

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\"."

@jodiedoubleday
Copy link

I've just come across this,
some initial thoughts...

  • Just check faketitleweadded is indeed on PRISMIC_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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants