Plugin: keyboard shortcut to add all fields
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description
Related: https://github.com/graphql/graphiql/issues/75
I would love to see a button, or a key combination that will add/autocomplete all direct fields of the current object. Complex fields will be autocompleted to {}, that will need to be manually fileld out.
Example:
```
Type Person with fields id, name, groups, teams
Type Group with fields id, name, people
Type Teams with fields id, name, people
```
Typing
```
query {
people {
}
}
```
becomes
```
query {
people {
id
name
groups(page: null , page_size: null) {
}
teams(page: null , page_size: null) {
}
}
}
```
Also plus if the complex subtypes are added at the end
Contributor guide
Assessment
This issue has not been assessed yet.