dotansimha / dotansimha/graphql-code-generator
Better interface for custom documents loader
Open
core
kind/enhancement
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
The goal is to keep the current API, but add support for doing:
```yaml
documents:
require: "my-file.js"
```
```yaml
documents:
require: "my-package"
```
> The above already supported today.
We also want to make sure to expose everything the codegen already knows (like the `GraphQLSchema`), so theoretically if someone wants to generate their GraphQL operations, they can do:
```yaml
documents:
require: "graphql-query-generator"
config:
nestingLevel: 2
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.