An open API service indexing awesome lists of open source software.

https://github.com/staticf0x/gql-prompt

Quick introspection tool into a GQL schema
https://github.com/staticf0x/gql-prompt

Last synced: 9 months ago
JSON representation

Quick introspection tool into a GQL schema

Awesome Lists containing this project

README

          

# GQL prompt

This little project servers as a quick introspection tool into a GQL schema.

## Usage

`poetry run python3 main.py my_schema.graphql`

Inside the prompt, you can write:

- `.types` to list all types in the schema
- `.queries` to list all queries
- `.mutations` to list all mutations
- Any type/query/mutation name to display its fields, args, returns values
- `_` to print the return type of a method you previously displayed