-
Notifications
You must be signed in to change notification settings - Fork 10.3k
feat(gatsby-source-wordpress): support wp-graphql@2 #39263
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
Conversation
expect(data[`allWpMenuItem`].totalCount).toBe(4) | ||
expect(data[`allWpPostFormat`].totalCount).toBe(0) | ||
expect(data[`allWpContentType`].totalCount).toBe(9) | ||
expect(data[`allWpContentType`].totalCount).toBe(7) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the source of this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Swapping wp-graphql-gutenberg extension to wp-graphql-content-blocks, previous plugin created actual wp content types, while new one does not
* fix: upgrade wordpress and wordpress plugins keeping wp-graphql on latest v1 * feat: support wp-graphql@2 * chore: format comment (cherry picked from commit d8cc254)
* fix: upgrade wordpress and wordpress plugins keeping wp-graphql on latest v1 * feat: support wp-graphql@2 * chore: format comment (cherry picked from commit d8cc254) Co-authored-by: Michal Piechowiak <[email protected]>
Released in |
Description
This will be adding support for wp-graphql@2
Most of this PR is actually not about that - instead it updates test setup to not use no longer active wordpress extensions and adds replacements and generally upgrades extensions, wordpress version and wp-graphql to latest v1 in first commit.
Once that is settled, follow up to update to wp-graphql@2 was added which comparatively as much smaller change.
Addresses https://linear.app/netlify/issue/FRB-1648/gatsby-source-wordpress-breaks-with-wpgraphql-20