beauby / jsonapi-datastore

JavaScript client-side JSON API data handling made easy.
MIT License
195 stars 40 forks source link

How to remove an item from the store #26

Open spwizard opened 8 years ago

spwizard commented 8 years ago

What is the best approach to remove an item from the store.

beauby commented 8 years ago

Hi @spwizard,

So far, there isn't really a good way to remove an item from the store (as we do not keep track of inverse relationships). It could be achieved quite easily though, I'll try to issue a PR next week when I get a bit more time (or if someone else has time, even better!).