dotansimha / dotansimha/graphql-code-generator
YAML schema definition for root config should be more permissive
Open
core
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
When specifying config options at the root level, VSCode complains because the YAML file doesn’t match the schema specified at https://www.graphql-code-generator.com/config.schema.json. Specifically, the config options `enumsAsTypes`, `contextType`, `exportFragmentSpreadSubTypes`, `immutableTypes` and `nonOptionalTypename` (etc.) are seemingly invalid.
Specifying these options at the output level works fine.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.