Open stylesuxx opened 8 months ago
Shouldn't you just be able to get that information from the resolved relation then instead?
Thank you! Could you maybe provide an example of how I would filter the entities based on the values of a resolved entity?
Describe the issue you're facing
This is probably more a question than a bug report, but you don't have a matching template for that, so I'll just go ahead here - sorry.
I have a content called
news
. Within this I have a field referencing a category. When inspecting it with graphql explorer I can see the ID of the referenced category by requesting the fieldfield_category_string
:Now, if I ask
gatsby-source-storyblok
to resolve this relation:the relation gets resolved as expected but the
field_category_string
disappears as an option from graphql. This is very unfortunate since I need the category to query for news withing this category.Or to re-phrase the question: How can I resolve relations and allow the entities to be filtered by such a resolved relation?
Reproduction
sorry...
Steps to reproduce
No response
System Info
Used Package Manager
yarn
Error logs (Optional)
No response
Validations