Codegen failing due to runtime error #10217
Unanswered
LorenzoRottigni
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
as attached if the photo @graphql-code-generator/cli is looking for "generates" key within config but actually the "generates" key is at config.default... do you have any idea of why?
This is my codegen.ts:
import type { CodegenConfig } from '@graphql-codegen/cli'
const config: CodegenConfig = {
schema: process.env.VENDURE || 'https://resale-test.deesup.com/shop-api',
documents: ['./client/graphql/queries//*.ts', './client/graphql/mutations//*.ts'],
generates: {
'client/types/graphql.ts': {
plugins: ['typescript', 'typescript-operations']
},
},
debug: true,
overwrite: true,
}
export default config
Beta Was this translation helpful? Give feedback.
All reactions