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
> graphql-codegen --config codegen.yml
✔ Parse configuration
❯ Generate outputs
❯ Generate src/graphql/generates.ts
✔ Load GraphQL schemas
✔ Load GraphQL documents
✖ Generate
→ at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/
…
Found 1 error
✖ src/graphql/generates.ts
AggregateError: GraphQL Document Validation failed with 8 errors;
Error 0: GraphQLDocumentError: Unknown type "PromotionFilter".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:8:12
Error 1: GraphQLDocumentError: Cannot query field "promotions" on type "Query".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:12:5
Error 2: GraphQLDocumentError: Unknown type "PromotionQueryInput".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:45:28
Error 3: GraphQLDocumentError: Cannot query field "promotion" on type "Query".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:46:3
Error 4: GraphQLDocumentError: Unknown type "PromotionUpdateInput". Did you mean
"RemoveDataInput"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:76:34
Error 5: GraphQLDocumentError: Cannot query field "updatePromotion" on type "Mut
ation". Did you mean "updateProduct"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:77:3
Error 6: GraphQLDocumentError: Unknown type "PromotionCreateInput". Did you mean
"CreateTaxRateInput" or "NavigationTreeInput"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:85:34
Error 7: GraphQLDocumentError: Cannot query field "createPromotion" on type "Mut
ation". Did you mean "createProduct"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:86:3
at new exports.AggregateError (/home/dglcsgaming/reaction-test/kinetic-feat-
promotion-details/node_modules/.pnpm/@[email protected][email protected]/node
_modules/@graphql-tools/utils/index.js:99:16)
at Object.checkValidationErrors (/home/dglcsgaming/reaction-test/kinetic-fea
t-promotion-details/node_modules/.pnpm/@[email protected][email protected]/no
de_modules/@graphql-tools/utils/index.js:1277:15)
at Object.codegen (/home/dglcsgaming/reaction-test/kinetic-feat-promotion-de
tails/node_modules/.pnpm/@[email protected][email protected]/node_modules/@gr
aphql-codegen/core/index.js:175:15)
at async process (/home/dglcsgaming/reaction-test/kinetic-feat-promotion-det
ails/node_modules/.pnpm/@[email protected]_fvukzu7z6wfjxvwqanosrw6g6m/node_m
odules/@graphql-codegen/cli/bin.js:1126:56)
at async Promise.all (index 0)
at async /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/node
_modules/.pnpm/@[email protected]_fvukzu7z6wfjxvwqanosrw6g6m/node_modules/@g
raphql-codegen/cli/bin.js:1136:37
at async /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/node
_modules/.pnpm/@[email protected]_fvukzu7z6wfjxvwqanosrw6g6m/node_modules/@g
raphql-codegen/cli/bin.js:925:21
AggregateError: GraphQL Document Validation failed with 8 errors;
Error 0: GraphQLDocumentError: Unknown type "PromotionFilter".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:8:12
Error 1: GraphQLDocumentError: Cannot query field "promotions" on type "Query".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:12:5
Error 2: GraphQLDocumentError: Unknown type "PromotionQueryInput".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:45:28
Error 3: GraphQLDocumentError: Cannot query field "promotion" on type "Query".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:46:3
Error 4: GraphQLDocumentError: Unknown type "PromotionUpdateInput". Did you mean
"RemoveDataInput"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:76:34
Error 5: GraphQLDocumentError: Cannot query field "updatePromotion" on type "Mut
ation". Did you mean "updateProduct"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:77:3
Error 6: GraphQLDocumentError: Unknown type "PromotionCreateInput". Did you mean
"CreateTaxRateInput" or "NavigationTreeInput"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:85:34
Error 7: GraphQLDocumentError: Cannot query field "createPromotion" on type "Mut
ation". Did you mean "createProduct"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/
Promotions/promotions.graphql:86:3
at new exports.AggregateError (/home/dglcsgaming/reaction-test/kinetic-feat-
promotion-details/node_modules/.pnpm/@[email protected][email protected]/node
_modules/@graphql-tools/utils/index.js:99:16)
at Object.checkValidationErrors (/home/dglcsgaming/reaction-test/kinetic-fea
t-promotion-details/node_modules/.pnpm/@[email protected][email protected]/no
de_modules/@graphql-tools/utils/index.js:1277:15)
at Object.codegen (/home/dglcsgaming/reaction-test/kinetic-feat-promotion-de
tails/node_modules/.pnpm/@[email protected][email protected]/node_modules/@gr
aphql-codegen/core/index.js:175:15)
at async process (/home/dglcsgaming/reaction-test/kinetic-feat-promotion-det
ails/node_modules/.pnpm/@[email protected]_fvukzu7z6wfjxvwqanosrw6g6m/node_m
odules/@graphql-codegen/cli/bin.js:1126:56)
at async Promise.all (index 0)
at async /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/node
_modules/.pnpm/@[email protected]_fvukzu7z6wfjxvwqanosrw6g6m/node_modules/@g
raphql-codegen/cli/bin.js:1136:37
at async /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/node
_modules/.pnpm/@[email protected]_fvukzu7z6wfjxvwqanosrw6g6m/node_modules/@g
raphql-codegen/cli/bin.js:925:21
Something went wrong GraphQL Document Validation failed with 8 errors;
Error 0: GraphQLDocumentError: Unknown type "PromotionFilter".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/Promotions/promotions.graphql:8:12
Error 1: GraphQLDocumentError: Cannot query field "promotions" on type "Query".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/Promotions/promotions.graphql:12:5
Error 2: GraphQLDocumentError: Unknown type "PromotionQueryInput".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/Promotions/promotions.graphql:45:28
Error 3: GraphQLDocumentError: Cannot query field "promotion" on type "Query".
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/Promotions/promotions.graphql:46:3
Error 4: GraphQLDocumentError: Unknown type "PromotionUpdateInput". Did you mean "RemoveDataInput"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/Promotions/promotions.graphql:76:34
Error 5: GraphQLDocumentError: Cannot query field "updatePromotion" on type "Mutation". Did you mean "updateProduct"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/Promotions/promotions.graphql:77:3
Error 6: GraphQLDocumentError: Unknown type "PromotionCreateInput". Did you mean "CreateTaxRateInput" or "NavigationTreeInput"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/Promotions/promotions.graphql:85:34
Error 7: GraphQLDocumentError: Cannot query field "createPromotion" on type "Mutation". Did you mean "createProduct"?
at /home/dglcsgaming/reaction-test/kinetic-feat-promotion-details/src/pages/Promotions/promotions.graphql:86:3
ELIFECYCLE Command failed with exit code 1.
```
The text was updated successfully, but these errors were encountered:
Replication Steps:
I get these errors:
The text was updated successfully, but these errors were encountered: