GraphQL nulled data when query wpnavigation post type
-
Hi all,
I’m really disliking the site editor and changes done to flow for adding navigation menu.
I have created multiple queries for GraphQL and added function to show wpnavigation on graphQL but it’s just showing ‘null’
This is the query I made:
query wpNavigation { wpNavigation(idType: DATABASE_ID, id: "1") { contentType { node { labels { allItems itemsList menuName name } } } } }which gives output:
{ "data": { "wpNavigation": null }, "extensions": { "debug": [] } }What am I doing wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘GraphQL nulled data when query wpnavigation post type’ is closed to new replies.