amplify-studio
amplify-studio copied to clipboard
Data Models: Save Data Models Before Actually Deploying (decouple the functionalities)
This has got very frustrating as work on entering/updating our data models and it fails on deploy and all the changes have been lost.
The ideal approach
Save and Deploy should be TWO SEPARATE FUNCTIONALITIES
Saving will save the structure of the models and deployment makes them live. It is idiotic and redundant to have them both in one single function with no history of changes or saves.
Also, when the deployment fails there is no error/reason message to say why the deployment failed.
@DanielDanaee Thank you for the feedback. We will add this feature request to our backlog. For error surfacing, you can see more verbose messaging in your CloudFormation console, but we are working to display better messages to give developers a better experience.
@hsspain Thank you! Looking very much forward to it!
why it is closed? The problem is not solved yet. I just also lost 2 hours of my work and all data entities I've created.
@hsspain Please reopen this issue if it is not resolved yet.
Thank you for posting this Github issue (and sorry for the delay in replying)! We have marked this as a feature request and are looking into prioritizing this with the team :)
For everyone else, if you agree with @DanielDanaee or have your own details to add to this issue post, please do post your support here by adding a comment or +1-ing with an emoji!!
I've had the same issue. I added additional models to my current setup and was confused to find when I came back after I ran "Save and Deploy", the models I just added are missing. It could use an error notification that the deployment failed, I wasn't sure what led to the new models disappearing. Separating "Save" and "Deploy" would be nice to avoid losing work.
Since data models take 5-10+ minutes to deploy, it is quite disruptive within our flow to need to deploy our data model and so we don’t do it often. Sadly, the only way to save our work is to also do a deploy, and so on multiple occasions we have lost our work for one reason or another because in effect saving takes so long. Really, the save and deploy functions should be separate actions/buttons so we could quickly save our state somehow but not deploy to our API.