WpMenu on Gatsby not returning any value while on GraphiQL returns
Closed this issue · 1 comments
eduAbreu commented
TylerBarnes commented
Hi there, this is because menus with no location set are private data in WP. Using wp-graphiql isn't an effective debugging tool for Gatsby because it's authenticated by default and Gatsby makes only unauthenticated requests. See https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/blob/master/docs/using-data.md#menus for more info