1
GraphQL - Automatically generate leaf nodes
Source: Kong/insomnia#3666 · opened by @rafaelrenanpacheco
• Insomnia Version: 5.15.0
• Operating System: Arch Linux
Details
Hi there!
[Back then]( someone asked for a feature in GraphQL to automatically generate leaf nodes when opening the query brackets, but the request got stale and closed.
As of today, is this feature still hard to be implemented? Insomnia's GraphQL already have a good intellisence, so I'm guessing it has all information needed to automatically generate all leaf nodes when openning the query bracket. Like GraphiQL, this feature should be activated as needed.
It is easier to generate all leaf nodes and delete the unwanted ones than to write each required node.
Edit: Would be good an option to set the level of children to generate. If set to 1, then only the direct children will be generated. If set to 2, then the children's children will be generated as well, and so on. For me 1 level is good enough.
Best regards,
Rafael Pacheco.
• Operating System: Arch Linux
Details
Hi there!
[Back then]( someone asked for a feature in GraphQL to automatically generate leaf nodes when opening the query brackets, but the request got stale and closed.
As of today, is this feature still hard to be implemented? Insomnia's GraphQL already have a good intellisence, so I'm guessing it has all information needed to automatically generate all leaf nodes when openning the query bracket. Like GraphiQL, this feature should be activated as needed.
It is easier to generate all leaf nodes and delete the unwanted ones than to write each required node.
Edit: Would be good an option to set the level of children to generate. If set to 1, then only the direct children will be generated. If set to 2, then the children's children will be generated as well, and so on. For me 1 level is good enough.
Best regards,
Rafael Pacheco.
No pledges yet. Be the first to back this.
Comments
Similar requests
Add better support for file uploads to graphQL
8 votes · 0 comments
[Feature Request] Import GraphQL schema as collection
25 votes · 0 comments
Export GraphQL schema
13 votes · 0 comments
Add support for GraphQL over Websockets protocol
1 vote · 0 comments
Improved autocomplete in GraphQL variables editor (fields of input types)
1 vote · 0 comments
No comments yet.