dotansimha / dotansimha/graphql-code-generator
Missing baseTypes import in files generated by near-operation-file when fragment on Query is used
Open
plugins
presets
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
**Describe the bug**
When a fragment on `Query` is used in document. Import for base types is missing.
**To Reproduce**
Steps to reproduce the behavior:
https://codesandbox.io/s/ancient-surf-mncg9?file=/operations/User.graphql.ts
**Expected behavior**
**Environment:**
- OS: macOS 10.15.6
- NodeJS: 12.16.1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.