1.2.0 • Published 4 years ago

graphql-file-js-to-ios v1.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Convert .js gen'ed Amplify Codegen Files for use in Xcode and Swift

  1. Use amplify codegen to generate .js files.
  2. Next, extract the files into a new folder, you will be importing this to Xcode
  3. Run this package by npx graphql-file-js-to-ios queries.js
  4. The example above will convert your queries.js file to be a .graphql compatable file
  5. Now you can remove the .js extension and add a graphql extension.

Thats it! Enjoy, hopefully you find this tool as useful as we do.