Insomnia: [Feature Request] GraphQL - Automatically generate leaf nodes

Created on 25 Apr 2018  路  6Comments  路  Source: Kong/insomnia

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

accepted

Most helpful comment

noooo

All 6 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I think this should be possible

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

noooo

Hahaaaa 馃槃

Let me give this one a go. I've been working with GraphQL plenty (via GatsbyJS) but may still need some advice with this. Any suggestions?

Was this page helpful?
0 / 5 - 0 ratings