wp-graphql-polylang
wp-graphql-polylang copied to clipboard
Menu filters not working with wordpress-source-experimental plugin
Hello, thank you for this awesome plugin.
I just figured out that I can filter menu items by language when using the WPGraphiql plugin IDE:
Unfortunately the same filter seems to be unavailable using the gatsby-source-wordpress-experimental plugin. The language filter works for all the other types, such as posts, pages etc:

Is there any reason why the wordpress-source-experimental plugin isn't recognizing this filter?
Thank you in advance
To my knowledge gatsby-source-wordpress-experimental uses the graphql fields exposed by wp-graphql so it should just work, but I have not used gatsby-source-wordpress-experimental so I'm not sure it does something weird before it calls the wp-graphql fields.
I am having the same issue.
However, I am using their new gatsby-source-wordpress release
Hello, I created an issue in the gatsby monorepo, because the new gatsby-source-wordpress plugin is now included within it. You can find the issue here: https://github.com/gatsbyjs/gatsby/issues/30597. I've found that the problem is not just on menu items, but also in some other content types, such as contentNodes. This makes really difficult to create a query scoped by language for multiple post types that should support pagination.
Assuming that most of the filters are correctly introspected by gatsby-source-wordpress, IMHO it could be some problem related on how some fields are exposed by this plugin.
Any kind of help will be really appreciated!
Thank you in advance
Any updates on this one?