dotansimha / dotansimha/graphql-code-generator-community

[near-operations-file] adds unused import

Open
#111 4 comments 12 reactions 1 assignee Claimed by @charlypoly View on GitHub
Dominant language
TypeScript
Stars
137
Forks
195
Avg merge
6h 20m
Merged PRs (30d)
16

Description

**Describe the bug**

When using `near-operations-file` with fragments, imports of unused fragments are sometimes added

**To Reproduce**

https://github.com/SimenB/codegen-extra-imports

Copying in the code from the reproduction repo seems unnecessary

**Expected behavior**

The unused import should not be added

**Environment:**

- OS: macOS
- `@graphql-codegen/...`: Some 1.19, some 1.17
- NodeJS: 14.15.1

**Additional context**

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.