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
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_112004PLUGINgatsby-source-wordpressTheremoteWPGraphQLschemahasn't changed but local generated type definitions have. This is a bug, please open an issue on Github and include the following text..
Changedtype defs:
Typename WpCartToCartItemConnectionTypediff:
{
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 WpCartItemConnectionTypediff:
+{+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"+]+}+}TypenameWpCartItemConnectionEdgeTypediff:
+{+kind: "INTERFACE"+config: {+name: "WpCartItemConnectionEdgeType"+fields: {+node: {+type: "WpCartItem!"+description: "The connected CartItem Node"+}+}+extensions: {+infer: false+}+interfaces: [+"WpEdgeType"+]+}+}TypenameWpProductToProductAttributeConnectionTypediff:
{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"]}}TypenameWpProductAttributeConnectionTypediff:
+{+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"+]+}+}TypenameWpProductAttributeConnectionEdgeTypediff:
+{+kind: "INTERFACE"+config: {+name: "WpProductAttributeConnectionEdgeType"+fields: {+node: {+type: "WpProductAttribute!"+description: "The connected ProductAttribute Node"+}+}+extensions: {+infer: false+}+interfaces: [+"WpEdgeType"+]+}+}TypenameWpProductToGlobalProductAttributeConnectionTypediff:
{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
...
[Diffexceeded5000charactersandwastruncated]notfinishedcreateSchemaCustomization-2.492serrorCommandfailedwithexitcode1.
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
The text was updated successfully, but these errors were encountered: