dotansimha / dotansimha/graphql-code-generator

More specific error messages when a problem is encountered with the configuration [vol2]

Open
#8,391 2 comments 0 reactions 0 assignees View on GitHub
core
Dominant language
TypeScript
Stars
11.3k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
23

Description

**Is your feature request related to a problem? Please describe.**

This has already been solved by https://github.com/dotansimha/graphql-code-generator/issues/6355 but it kind of seems like the problem is still there.

**Describe the solution you'd like**

I'm running codegen and getting

```
✖ Invalid Codegen Configuration!
◼ Generate outputs
```

I don't know whats wrong. I'd like a stacktrace or some more concrete message.

**Describe alternatives you've considered**

`VERBOSE=1 DEBUG=1`

**Additional context**

```
"@graphql-codegen/add": "^3.2.1",
"@graphql-codegen/cli": "^2.12.2",
"@graphql-codegen/fragment-matcher": "^3.3.1",
"@graphql-codegen/typescript": "^2.7.3",
"@graphql-codegen/typescript-document-nodes": "^2.3.3",
"@graphql-codegen/typescript-operations": "^2.5.3",
"@graphql-codegen/typescript-react-apollo": "^3.3.3",
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.