I need to make a query but don't know how to write it.
Basically I have a Blog Post content type. One of the fields of the blog post is a group field called with an id "tags", where you can add multiple relationship fields with an id "tag", which is another content type called Blog Tag
Basically I need to query all Blog Post's that is linked to this Blog Tag
Oh, and I'm using gatsby-source-prismic-graphql on Gatsby
Hello @kaue and welcome to the Prismic community forum!
Prismic has a default tagging system built into the writing room, you can use it while editing your documents. Is there any reason you didn’t choose to use it?
Unfortunately the default tagging system is not powerful enough, there are a lot of issues with it.
The two main ones for us is that it’s just a string, there’s no way to add extra data to a tag and the second and biggest one is that tags are shared across all content types. So if there are 10 content types, each having 6 tags, then the marketing team will have to browse through 60 tags when they should be able to see just the ones that are relevant to the content type they are creating
I believe it was because of the limitations of the tag system that this article was published:
@kaue I totally understand that this may not be ideal for all cases. I’m going to tag the @features-team in this thread to let them know about this and we will add this to our feature request tracker as a possible improvement for the future.
Pau
closed , flag & select 'Something Else' to reopen.
10
This is being tracked as an open feature request.
If you have another use-case for this feature, you can 'Flag' this topic to reopen. Please use the button to show your support for the feature and check out our Feature Request Guidelines.