Package Exports
- @aws-amplify/graphql-docs-generator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aws-amplify/graphql-docs-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
GraphQL Docs generator
GraphQL document generator takes a schema and generates all possible statements(queries, mutations and subscription) on that schema. This can act as a starting point for the users who are new to GraphQL
Installation and execution
$ npm install -g @aws-amplify/graphql-docs-generator
$ graphql-docs-generator --schema test-data/schema.json --output all-operations.graphql --language graphql
Todo:
- Add support for subscriptions
- Add type information
- Add unit tests
- Support generating operation by downloading schema from a GraphQL server
- Support generation of separate files (queries.graphql, mutations.graphql and subscriptions.graphql)
- Support de-duping of fragments (non inline fragments)