dabit3 / graphql-recipes

A list of GraphQL recipes that, when used with the Amplify CLI, will deploy an entire AWS AppSync GraphQL backend.
155 stars 17 forks source link

Add Datastore to Whatsapp clone #5

Open mir1198yusuf opened 3 years ago

mir1198yusuf commented 3 years ago

If you add Datastore to Whatsapp clone schema, how can you enable selective syncing because you don't want to sync any conversation which you are not a part of. Also this would be security issue.

You want selective syncing to only logged in user. Now the stream of problems will arise and gradually it feels Datastore cannot handle this.

see this issue in amplify repo : https://github.com/aws-amplify/amplify-js/issues/7534#issuecomment-760412322

Except for todo list app, Datastore cannot handle such simple real-world issue.

Also very simple question is unanswered by Datastore - https://github.com/aws-amplify/amplify-js/issues/7544#issuecomment-758679984