I have created a category multi-select in Prismic using a Group and Select.
I'm trying to create a "similar post" feature where the 5 latest posts are returned for a category.
For example, a post might have category1, category2 and category3 assigned to it and in the "similar post" list, I want to return the 5 latest posts for category1.
How can this be done?
I tried something like this: Query Data with GraphQL - Prismic but can't seem to get Selects working within a Group.