Hey @christianreich, even though Prismic's documentation says that you can't query a field in a group, I found out that you actually can (I discussed this in another thread but not sure if the Prismic team updated their docs) - GraphQuery vs FetchLinks).
I have a very similar setup for Prismic Templates - give it a go and let me know if it works
@kris Thanks for your reply! Your setup does look very similar, however I can't figure out why it's not working. I tried "categories.category.title" and "category.title", nothing seems to work for me.
I've now circumvented the problem by making the categories a simple RichText field. Thankfully in my project the categories are just a convenience, but not strictly necessary as a separate Content Type.
@Priyanka I'm also curious, what's the logical explanation behind this?
Hello, @kris@christianreich We have discussed many times internally, but we don't have any concrete answer for this, in which case it work or doesn't. Most of the time, it doesn't work for me with my repos so I prefer to use graphql. However, I will pass this on to my documentation team for further exploring.