amplify-category-api
amplify-category-api copied to clipboard
clean mock data on mock startup
Describe the feature you'd like to request
As schemas change and evolve existing mock data is not migrated, which can cause issues on mock startup such as
Failed to start API Mocking. Running cleanup tasks.
🛑 Failed to start API Mocking.. Reason: The request processing has failed because of an unknown error, exception or failure.
Describe the solution you'd like
Clean mock data (i.e. rm -rf amplify/mock-data) on amplify mock api
Describe alternatives you've considered
manually removing mock data before executing amplify mock api
Additional context
- https://github.com/aws-amplify/amplify-cli/issues/12003
Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change