ardatan / ardatan/graphql-import
Proposal: nested imports
- Dominant language
- No language data
- Stars
- 864
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
This may cover common (as I think) situation when you need to use generated types but slightly change them. As an example — add directives (e.g. add `@auth` to mutations).
```
type Mutation @auth {
#import Mutation.createArticle from "src/schema/generated/mysql.graphql"
}
```
or/and
```
type Mutation {
createArticle @auth {
#import Mutation.createArticle.* from "src/schema/generated/mysql.graphql"
}
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The proposal provides GraphQL SDL examples and references src/schema/generated/mysql.graphql, but names no implementation entry point or test. Start by locating the existing import handling and its tests, then confirm the supported nested-import behavior and completion criteria with maintainers.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100