-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allWpMenu query runs fine on WP GraphiQL but results in TypeInfo error locally #30280
Comments
@TylerBarnes after our recent discussion on the MediaItem issue I opened on https://github.com/wp-graphql/, I came back to this and noticed that the Here's what I get for the first MenuItem node: WP GraphQL: Not sure if this has to do with how URLs are parsed by the plugin, but I wanted to bring it up. Thanks! |
@Kallirroi thanks for asking - the plugin does replace any URL's and make them relative paths for ease of linking between pages/nodes. |
I have a fix coming for this btw! |
I have a canary with a solution here |
That's awesome, thanks so much! |
On
http://localhost:8000/___graphql
when I add theconnectedNode
in the query below:I get the following error:
Notice how it returns the (somewhat) correct results, but the last two nodes have a
node: null
.Expected behaviour
Here is how it's supposed to work, via WP GraphiQL:
output:
gatsby info
The text was updated successfully, but these errors were encountered: