Replies: 3 comments
-
Experiencing this too, maybe we are following bad guides online: codegen.ts: import type { CodegenConfig } from "@graphql-codegen/cli";
import { defineConfig } from "@eddeee888/gcg-typescript-resolver-files";
const config: CodegenConfig = {
schema: "./src/schema/**/schema.graphql",
generates: {
"src/schema": defineConfig(),
},
};
export default config; |
Beta Was this translation helpful? Give feedback.
-
Hello, this usually happens because of validation issues in the schema. Could you share your schema? |
Beta Was this translation helpful? Give feedback.
-
Hi, whilst these errors appear when there's an issue with the schema, I'll look into fixing this issue so the correct error is shown, rather than seeing meaningless message like this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm getting this error body undefined when I've tried working with this example:
codegen.yml
Resolver:
Beta Was this translation helpful? Give feedback.
All reactions