aws-amplify-serverless-plugin icon indicating copy to clipboard operation
aws-amplify-serverless-plugin copied to clipboard

Generate GraphQL code for JS/TS

Open Gerharddc opened this issue 6 years ago • 0 comments

The GraphQL operations file that can currently be generated using the "graphql" type is not useable with JS/TS as far as I know. When using the codegen feature of the Amplify CLI, three different files (mutations.ts, queries.ts and subscriptions.ts) are generated which contain the same operations as the file that this plugin generates but as strings. It would be great if this plugin could generate those files or at least one file with the operations as strings.

Gerharddc avatar Jan 15 '19 07:01 Gerharddc