dotansimha / dotansimha/graphql-code-generator

[DOCS UPDATE] Add all supported config file formats

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

Description

**Describe the bug**
Currently the [website](https://graphql-code-generator.com/docs/getting-started/codegen-config) mentions:

> To pass configuration to GraphQL Codegen, you need to simply create a codegen.yml or codegen.json file and run the codegen.

There seem to be more supported formats as stated [here](https://github.com/dotansimha/graphql-code-generator/issues/1167). I think for many people, it might be beneficial to know that it can be a `codegen.js` file too. Makes it easier when adding a token to the header for example.

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.