Skip to content

gitsunmin/graph-man

Repository files navigation

Graph Man

This Extension is a Tester for GraphQL Queries and Mutations.

Layout

Layout

Features

  • Test GraphQL Queries And Mutations
  • Save Queries And Mutations
  • Settings For Custom Headers
  • Load Schema From URL
  • Merge Fragments into Query
  • Schema Based GraphQL IntelliSense
  • Autofill fields

Usage

usage-video0

  1. Install Graph Man Extension
  2. Create .graph-man folder in your project root
  3. Create Configration File (name is .graph-man/config.json)
  4. Create Queries And Mutations Files (.graph-man/**/*.graphql)
  5. Select Your Environment to Side Bar
  6. Click the "paper airplane icon" on Right-Top for Send Your "Query" Or "Mutation" on .graph-man/**/*.grapql file

Tip: If you don't include the .graph-man/**/* files in the project, you can add them to .gitignore for use.

Commands

  • Graph Man: Show Configuratio: .graph-man/config.json file will be opened
  • Graph Man: Refresh Environment: Refresh Environment from .graph-man/config.json
  • Graph Man: Refresh Graphqls: Refresh GraphQL Files from .graph-man/**/*.graphql and .graph-man/**/*.gql
  • Graph Man: Send Graphql: Send GraphQL Query or Mutation
  • Graph Man: Create Config File: Create .graph-man/config.json
  • Graph Man: Load Schem: Load Schema from URL

Example

here
It's a "graphql-server" that uses "graph-man." You can learn more about how to use it in this project.