FeatureFuel
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.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests