Jan Wagenaar

Results 5 comments of Jan Wagenaar

Seems that this is due to the fact that the nodes are wrapped in a data object. So the node that includes the slug is returned, which is in fact...

> @jan-wagenaar These queries are made in the graphql playground from gatsby. So that's how the queries need to be build...I guess? There is no other way to get those...

Is your query for a page? In that case, one thing you should try if it's possible to use the Gatsby Node API to filter the data on build time....

That right, but in the gatsby-node.js code you may be able to implement custom logic. ![image](https://user-images.githubusercontent.com/72320301/149019480-3180ffa3-11d5-43a3-a18c-8ca01f4756b5.png) I will try it for myself. Ofcourse, this is a temporary workaround....

Nice I was able to use this as an workaround. My code: ``` const { data } = await graphql(` query { allStrapiWorks { nodes { data { id attributes...