Corrupted remote qraphql schema. Post syntax checks, before schema upload during amplify push. #13528
Closed
2 tasks done
Labels
duplicate
If marked with duplicate, issue will be closed & original will be added for traceability
pending-triage
Issue is pending triage
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.12.1
Amplify CLI Version
12.10.1
What operating system are you using?
Windows / Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes yet
Describe the bug
Amplify did not repeat its syntax checks immediately before uploading schema.
There was an opportunity to corrupt the schema between syntax checks and file upload.
Expected behavior
I would expect a force or override command.
Reproduction steps
1.) Edited an existing schema correctly
2.) Run "Amplify Push".
3.) During the process put a single character on a line at the top of the file.
4.) Allow the process to complete.
5.) Use amplify push or pull to see error.
Project Identifier
e325a54048adef53f5a5bb7f0ba27994
Log output
Additional information
Error using amplify pull or push : Unexpected Name "y".
"y" was the typo on the first line of the schema
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: