Add support for delete mutation so offline delete operations will remove elements form cache without leaving orphan objects.
Currently when delete happens it will return object and we do not know if this was actually an delete operation. Options: - Allow people to mark that mutations actually delete the data - Build helper that will delete object from cache (it will be deleted from query object anyway)
Discussion upstream: https://github.com/apollographql/apollo-client/issues/899 |
|