1.2.0 • Published 6 years ago
graphql-file-js-to-ios v1.2.0
Convert .js gen'ed Amplify Codegen Files for use in Xcode and Swift
- Use
amplify codegento generate.jsfiles. - Next, extract the files into a new folder, you will be importing this to Xcode
- Run this package by
npx graphql-file-js-to-ios queries.js - The example above will convert your queries.js file to be a .graphql compatable file
- Now you can remove the
.jsextension and add a graphql extension.