An amplify pull will generate a schema.graphql containing the syntax error.
Even with no syntax errors (changed to only a single model), amplify api gql-compile fails. Does this compile the schema.graphql with errors that is being pushed?
:octagonal_sign: Syntax Error: Unexpected ")".
I am trying to reproduce the problem, but I am having trouble understanding how I could have pushed the schema.graphql containing the syntax error.
This also makes the schema.graphql in amplify studio empty and the contet inaccessible. Cloning the environment also failed with a syntax error.
Does anyone know how to deal with this?