ardatan / ardatan/graphql-import
Add option for renaming types when importing
Open
discussion
enhancement
- Dominant language
- No language data
- Stars
- 864
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Currently the only way to rename types in a schema is not import them, but create a new type and copy the fields. It would be very useful if one could do:
`# import House as Home from './mySchema.graphql'`
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. Start by locating the schema import parser and its handling of type definitions, then trace how imported names are resolved. Done means supporting `import House as Home from './mySchema.graphql'` while preserving the imported fields under the renamed type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100