Describe the bug
I have created a WordPress website with WooCommerce installed and activated. Then I installed WPGraphQL and WooGraphQL plugins. Then I created a new Gatsby project, installed gatsby-source-wordpress and tried to run the project. Everything runs fine when the WooGraphQL is deactivated and throws an error when activated:
Missing onError handler for invocation 'extracting-queries', error was 'Error: Interface field WpConnectionType.pageInfo expected but WpProductToProductAttributeConnectionType does not provide it. at assertValidSchema (/Users/ro/Documents/project/node_modules/graphql/type/validate.js:59:11) at validate (/Users/ro/Documents/project/node_modules/graphql/validation/validate.js:63:35) at extractOperations (/Users/ro/Documents/project/node_modules/gatsby/src/query/query-compiler.js:214:18) at processQueries (/Users/ro/Documents/project/node_modules/gatsby/src/query/query-compiler.js:170:45) at compile (/Users/ro/Documents/project/node_modules/gatsby/src/query/query-compiler.js:80:19) at updateStateAndRunQueries (/Users/ro/Documents/project/node_modules/gatsby/src/query/query-watcher.ts:236:40) at extractQueries (/Users/ro/Documents/project/node_modules/gatsby/src/services/extract-queries.ts:18:3)'
To Reproduce
Steps to reproduce the behaviour:
- Create a WordPress website.
- Install and activate WooCommerce.
- Install and activate WPGraphQL.
- Install and activate WooGraphQL.
- Create and run the Gatsby project.
Expected behaviour
Gatsby should build and run the project.
Plugin Versions
- WooGraphQL Version: 0.19.0
- WPGraphQL Version: 1.22.1
- WordPress Version: 6.4.3
- WooCommerce Version: 8.7.0
Describe the bug
I have created a WordPress website with WooCommerce installed and activated. Then I installed WPGraphQL and WooGraphQL plugins. Then I created a new Gatsby project, installed gatsby-source-wordpress and tried to run the project. Everything runs fine when the WooGraphQL is deactivated and throws an error when activated:
Missing onError handler for invocation 'extracting-queries', error was 'Error: Interface field WpConnectionType.pageInfo expected but WpProductToProductAttributeConnectionType does not provide it. at assertValidSchema (/Users/ro/Documents/project/node_modules/graphql/type/validate.js:59:11) at validate (/Users/ro/Documents/project/node_modules/graphql/validation/validate.js:63:35) at extractOperations (/Users/ro/Documents/project/node_modules/gatsby/src/query/query-compiler.js:214:18) at processQueries (/Users/ro/Documents/project/node_modules/gatsby/src/query/query-compiler.js:170:45) at compile (/Users/ro/Documents/project/node_modules/gatsby/src/query/query-compiler.js:80:19) at updateStateAndRunQueries (/Users/ro/Documents/project/node_modules/gatsby/src/query/query-watcher.ts:236:40) at extractQueries (/Users/ro/Documents/project/node_modules/gatsby/src/services/extract-queries.ts:18:3)'To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Gatsby should build and run the project.
Plugin Versions