Skip to content
Convert your insomnia collections to GraphQL files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
.gitignore
LICENSE
README.md
_config.yml
manage.py
requirements.txt

README.md

Insomnia Collection GraphQL Generator     Waffle.io - Columns and their card count   license

Small application to help you generate .graphql files from a GraphQL export workspace in insomnia so you can use it in projects like Apollo or retrofit-graphql for android.

How To Use

Obviously firstly you must have Insomnia installed and preferably isolate your GraphQL queries into their own separate Work Space which you will export. As shown in the image below:

Work Space Example


Folder or Collection Example

N.B. The utility can work with up to 3 nested folders Tested in a given workspace. Which means in the image above To-Dos can have upto 3 levels of directories with requests

Usage

For all available options you can run the following command:

python manage.py --help

All generated files will be saved in the ./app/io/output

You can’t perform that action at this time.