1.2.0 • Published 4 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 codegen
to generate.js
files. - 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
.js
extension and add a graphql extension.