dotansimha / dotansimha/graphql-code-generator
The graphql-request typed SDK live example on the frontpage has a wrong configuration
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
Hei,
If you select `graphql-request typed SDK` on the frontpage (https://www.graphql-code-generator.com), `codegen.yml` contains the following configuration:
```yaml
generates:
sdk.ts:
plugins:
- typescript
- typescript-graphql-request
```
But the genererated code `sdk.ts` is missing some important types because the plugin `typescript-operations` is not loaded. The correct configuration should be the following [according to the plugin documentation](https://www.graphql-code-generator.com/plugins/typescript-graphql-request):
```yaml
generates:
sdk.ts:
plugins:
- typescript
- typescript-operations
- typescript-graphql-request
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.