You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgive me because I'm a bit new to open source communities and using GitHub discussions. I'm not confident enough that this is a bug to open an issue, and I'm hoping someone can point me in the right direction.
I'm having issues sourcing menus that are larger than 100 items using the plugin gatsby-source-wordpress. Every time I try to query menuItems for a menu above 100 items, it will only return the first 100 items. Here's an example query:
But nothing works. I can't split up or paginate the query either, because the schema Gatsby provides doesn't seem to allow that. I'm not sure where to go from here, does anyone have any idea?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
Forgive me because I'm a bit new to open source communities and using GitHub discussions. I'm not confident enough that this is a bug to open an issue, and I'm hoping someone can point me in the right direction.
I'm having issues sourcing menus that are larger than 100 items using the plugin
gatsby-source-wordpress
. Every time I try to querymenuItems
for a menu above 100 items, it will only return the first 100 items. Here's an example query:I've tried the workarounds I can find online. I added this to my options for the
gatsby-source-wordpress
plugin ingatsby-config.js
:And I added this filter on the WordPress end of things to circumvent WPGraphQL's query limits:
But nothing works. I can't split up or paginate the query either, because the schema Gatsby provides doesn't seem to allow that. I'm not sure where to go from here, does anyone have any idea?
Beta Was this translation helpful? Give feedback.
All reactions