Steps to Reproduce
Install gatsby-source-wordpress
Install Wp with woocommerce and woographql
Add some products in woocommerce
Start dev second time ( Everything works right the first time )
Result of yarn start
ERROR #gatsby-source-wordpress_112004 PLUGIN
gatsby-source-wordpress The remote WPGraphQL schema hasn't changed but local generated type definitions have. This is a bug, please open an issue on Github and include the following text..
Changed type defs:
Typename WpCartToCartItemConnectionType diff:
{
kind: "OBJECT"
config: {
name: "WpCartToCartItemConnectionType"
fields: {
itemCount: {
type: "Int"
description: "Total number of items in the cart."
}
nodes: {
type: "[WpCartItem!]!"
description: "The nodes of the connection, without the edges"
}
pageInfo: {
type: "WpCartToCartItemConnectionPageInfoType!"
description: "Information about pagination in a connection."
}
productCount: {
type: "Int"
description: "Total number of different products in the cart"
}
}
description: "Connection between the Cart type and the CartItem type"
extensions: {
infer: false
}
interfaces: [
+ "WpCartItemConnectionType"
"WpConnectionType"
]
}
}
Typename WpCartItemConnectionType diff:
+{
+ kind: "INTERFACE"
+ config: {
+ name: "WpCartItemConnectionType"
+ fields: {
+ nodes: {
+ type: "[WpCartItem!]!"
+ description: "A list of connected CartItem Nodes"
+ }
+ pageInfo: {
+ type: "WpCartItemConnectionPageInfoType!"
+ description: "Information about pagination in a connection."
+ }
+ }
+ extensions: {
+ infer: false
+ }
+ interfaces: [
+ "WpConnectionType"
+ ]
+ }
+}
Typename WpCartItemConnectionEdgeType diff:
+{
+ kind: "INTERFACE"
+ config: {
+ name: "WpCartItemConnectionEdgeType"
+ fields: {
+ node: {
+ type: "WpCartItem!"
+ description: "The connected CartItem Node"
+ }
+ }
+ extensions: {
+ infer: false
+ }
+ interfaces: [
+ "WpEdgeType"
+ ]
+ }
+}
Typename WpProductToProductAttributeConnectionType diff:
{
kind: "OBJECT"
config: {
name: "WpProductToProductAttributeConnectionType"
fields: {
nodes: {
type: "[WpProductAttribute!]!"
description: "The nodes of the connection, without the edges"
}
pageInfo: {
type: "WpProductToProductAttributeConnectionPageInfoType!"
description: "Information about pagination in a connection."
}
}
description: "Connection between the Product type and the ProductAttribute type"
extensions: {
infer: false
}
interfaces: [
+ "WpProductAttributeConnectionType"
"WpConnectionType"
]
}
}
Typename WpProductAttributeConnectionType diff:
+{
+ kind: "INTERFACE"
+ config: {
+ name: "WpProductAttributeConnectionType"
+ fields: {
+ nodes: {
+ type: "[WpProductAttribute!]!"
+ description: "A list of connected ProductAttribute Nodes"
+ }
+ pageInfo: {
+ type: "WpProductAttributeConnectionPageInfoType!"
+ description: "Information about pagination in a connection."
+ }
+ }
+ extensions: {
+ infer: false
+ }
+ interfaces: [
+ "WpConnectionType"
+ ]
+ }
+}
Typename WpProductAttributeConnectionEdgeType diff:
+{
+ kind: "INTERFACE"
+ config: {
+ name: "WpProductAttributeConnectionEdgeType"
+ fields: {
+ node: {
+ type: "WpProductAttribute!"
+ description: "The connected ProductAttribute Node"
+ }
+ }
+ extensions: {
+ infer: false
+ }
+ interfaces: [
+ "WpEdgeType"
+ ]
+ }
+}
Typename WpProductToGlobalProductAttributeConnectionType diff:
{
kind: "OBJECT"
config: {
name: "WpProductToGlobalProductAttributeConnectionType"
fields: {
nodes: {
type: "[WpGlobalProductAttribute!]!"
description: "The nodes of the connection, without the edges"
}
pageInfo: {
type: "WpProductToGlobalProductAttributeConnectionPageInfoType!"
description: "Information about pagination in a connection."
}
}
description: "Connection between the Product type and the GlobalProductAttribute typ
...
[Diff exceeded 5000 characters and was truncated]
not finished createSchemaCustomization - 2.492s
error Command failed with exit code 1.
After installing the Woographql plugin, dev builds stop working with the cache. after gatsby clean project works again until rebuild or change in WP.
Reproduction Link https://github.com/GleckoS/woographlq-bug
Steps to Reproduce Install gatsby-source-wordpress Install Wp with woocommerce and woographql Add some products in woocommerce Start dev second time ( Everything works right the first time )
Result of yarn start
Gatsby Environment
WP Environment