dotansimha / dotansimha/graphql-code-generator
fragment-matcher generated code is wrongly indented
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
**Describe the bug**
When using the fragment-matcher plugin against a graphql server this is the result of the generated code.

**To Reproduce**
Steps to reproduce the behavior:
use fragment-matcher plugin. Possibly have not fragments to match.
1. My GraphQL schema:
```graphql
# Put your schema here
```
2. My GraphQL operations:
```graphql
# Put your operations here
```
3. My `codegen.yml` config file:
```yml
overwrite: true
schema: "http://localhost:3000/graphql"
documents: null
generates:
src/types/graphql-generated.ts:
plugins:
- "typescript"
- "fragment-matcher"
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.