My project is built with vue.js and severless framework, when I try to integrate it with Aws AppSync and Amplify (by using amplify cli), it auto generated a schema.json under /src/graphql
which is almost unreadable. So every time I want to change the schema i go to the appsync console, change it there, then I do one of the following:
execute
amplify api update
in terminal so that it updates whatever has been change in the cloud and update my local schema accordingly.download the schema.json file from the appsync console after the change. going back and forth is very consuming.
So my question is:
Can I somehow use schema.graphql in my project instead of the unreadable schema.json
I also noticed if I comment out every line in schema.json or even removed the schema.json completely in /src/graphql, it does not give me any error when i run it, why is this happening?
Thanks in advance.