dotansimha / dotansimha/graphql-code-generator

[near-operation-file] Allow named import

Open
#7,921 1 comment 3 reactions 1 assignee Assigned to @gilgardosh View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
23

Description

**Is your feature request related to a problem? Please describe.**

I would like to generate my backend types in a local workspace package and maybe export something else from there.

**Describe the solution you'd like**

A property like `namedExportName: 'Types'` that, when set, would generate code like `import { Types } from '@company/schema-package';` instead of `import * as Types from '@company/schema-package';`

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.