Amplify-cli: How do I remove DataStore from my amplify project?

Created on 27 Apr 2020  路  4Comments  路  Source: aws-amplify/amplify-cli

This is a general usage question:
I have a project set up that uses DataStore. But due to https://github.com/aws-amplify/amplify-js/issues/5119 I cannot use DataStore.

It looks like the schema is very different from projects without DataStore set up, so my question is: How does one remove datastore to use amplify without it again?

DataStore pending-close-response-required question

Most helpful comment

@raelmiu You would have to delete the ResolverConfig from the transformer.conf.json

All 4 comments

@raelmiu You would have to delete the ResolverConfig from the transformer.conf.json

@ammarkarachi and then? When I did the modelgen function is updating the API.ts file again. But all the extra data fields etc are still there.

@raelmiu Can you delete them and invoke amplify push

I seem to have a lot of boilerplate still in the code, but everything does work. Thank you @ammarkarachi

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kstro21 picture kstro21  路  3Comments

amlcodes picture amlcodes  路  3Comments

zjullion picture zjullion  路  3Comments

ReidWeb picture ReidWeb  路  3Comments

onlybakam picture onlybakam  路  3Comments