graphman

Quikly scaffold a postman collection for a GraphQL API. Compatible with Postman & Insomnia.

MIT License

Stars
236
Committers
5

Bot releases are visible (Hide)

graphman - v1.2.1 Latest Release

Published by github-actions[bot] over 1 year ago

  • Introduces -H flag to pass multiple custom headers.
  • --auth flag has been removed and should be used via -H="Authorization: <token>"
  • Fixes.
graphman - v1.2.0

Published by github-actions[bot] over 1 year ago

Graphman now properly supports UNION types.
It will fill operations bodies with each union type to produce an output like:

query myUnionQuery {
  myUnionQuery {
     __typename
     ...on UnionType1 {
       __typename
       scalar,
       # object
     }
     ...on UnionType2 {
       __typename
       scalar,
       # object
     }
  }
}
graphman - v1.1.4

Published by nohehf almost 2 years ago

Fixes collection and filename parsing issues: #46
Adds support for UNION and INTERFACE types: #44 | #47

graphman - v1.1.3

Published by nohehf about 2 years ago

Fixes #41 (mutations were in the queries folder)

graphman - v1.1.2

Published by nohehf about 2 years ago

Adds a description to postman documentation for each request:

graphman - v1.1.1

Published by nohehf about 2 years ago

Improved error message when introspection fails.
Queries and mutations are now in distinct folders:
image

graphman - v1.1.0

Published by nohehf about 2 years ago

v1.1.0 introduces a huge refactor of the architecture of graph man, whose effort is to decouple different steps of the process, to be able to develop new features easily, and add more options to the CLI. Typing is also greatly improved. Graphman can now be used as a module, not only via the CLI. The CLI entry point has changed to /src/cli.ts

graphman - v1.0.3

Published by nohehf about 2 years ago

Fix no out directory issue

graphman - v1.0.2

Published by nohehf about 2 years ago

The default output directory is now ./out
Improved the repo (.github, .vscode, CI), this doesn't affect the CLI tho

graphman - v1.0.1

Published by nohehf about 2 years ago

Flags are now the default way to pass options to GraphMan's CLI.
Authorization headers are now supported using --auth=TOKEN flag.

graphman - v1.0.0

Published by nullswan about 2 years ago

Migrating GraphMan to releases to use deno.land mirror for remote execution.