There seems to be an error in the Gatsby WPGraphQL Plugin. In GraphQL under localhost:8000/___graphql I get my categories name and id returned for a post with the following query:
However, in Gatsby the same query does not return anything, when I say
<p>{data.wpPost.categories.nodes.id}</p>
there is no error and the paragraph element get's rendered but without any content. I have also tried it with name, slug and basically any other of the available elements in "category" with the same result: an empty element.
Description
There seems to be an error in the Gatsby WPGraphQL Plugin. In GraphQL under localhost:8000/___graphql I get my categories name and id returned for a post with the following query:
However, in Gatsby the same query does not return anything, when I say
<p>{data.wpPost.categories.nodes.id}</p>
there is no error and the paragraph element get's rendered but without any content. I have also tried it with name, slug and basically any other of the available elements in "category" with the same result: an empty element.
Any help would be greatly appreciated!
Expected Result
<p>dGVybTo3OQ==</p>
Actual Result
<p></p>
Environment
Config Flags
No response