dotansimha / dotansimha/graphql-code-generator

Better interface for custom documents loader

Open
#7,213 1 comment 1 reaction 1 assignee Claimed by @gilgardosh View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.