Skip to content

Autofill GraphQL request from Documentation Fields #2816

Closed

Description

@jostFT

Is your feature request related to a problem? Please describe.
Whenever I have to setup a new GraphQL request, and the request is quite hefty (say, 5-6 parameters and/or a ton of return data). It is incredibly tedious to manually type it in. Especially, when I want to structure it to support Query Variables.

Describe the solution you'd like
I would like the ability to press an "import" button within the documentation section that would then populate the entire request into the GraphQL window. Granted, leaving out the actual input values.

Describe alternatives you've considered
Alternatively, make the text within the documentation area highlightable, so I can grab a hold of the the query and paste it in myself.

Additional context
Here is an example of what I'm thinking:
Screen Shot 2020-11-06 at 11 50 43

I am running Insomnia Core 2020.4.2
on Mac OS Catelina 10.15.6

Activity

  1. jostFT commented on Jan 15, 2021

    @jostFT
    Author

    bump

  2. ehenson commented on Apr 23, 2021

    @ehenson

    This will be a very handy feature. I'm having to use other tools to perform this and if Insomnia could have this feature then I can exclusively use this application for all of my projects.

  3. locked and limited conversation to collaborators on Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions