Update WPGraphQL to the latest version (v1.22.1). Note there was a previous PR attempting an update with git subtree, but that was abandoned for dependency difficulties.
Steps to Test
Install and activate the plugin.
Go to Admin -> Settings -> VIP Decoupled and ensure "WPGraphQ" and "VIP Block Data API" are enabled.
Go to Admin -> GraphQL -> GraphiQL IDE and try a block query against an existing post (431 below):
query NewQuery {
post(id: 431, idType: DATABASE_ID) {
blocksData {
blocks {
id
name
innerBlocks {
attributes {
name
value
}
id
name
parentId
}
}
}
}
}
Description
Update WPGraphQL to the latest version (v1.22.1). Note there was a previous PR attempting an update with
git subtree
, but that was abandoned for dependency difficulties.Steps to Test
Install and activate the plugin.
Go to Admin -> Settings -> VIP Decoupled and ensure "WPGraphQ" and "VIP Block Data API" are enabled.
Go to Admin -> GraphQL -> GraphiQL IDE and try a block query against an existing post (
431
below):See the results: