question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

$delete call the action but does not remove from the store

See original GitHub issue

Hey!

Since the version 0.32.2 of @vuex-orm/core, the $delete method has some bugs.

I tried to downgrade to 0.32.1 and everything work fine.

The api call is done but the entry is not removed from the store.

There is lot of changes between these two versions and I don’t know if it broke something.

Thank you in advance

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
guillaumebridaycommented, Sep 11, 2019

I opened a PR @khalidchawtany

1reaction
khalidchawtanycommented, Sep 10, 2019

Delete action uses which currently does not work in vuex-orm 😦

                model.delete({
                    where: {
                        id: pramas.params.id || data.ids,
                    }
                });
Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete an item from Redux state - Stack Overflow
I'm wondering how I can match the action.data with one of the ID's within the Redux state and then remove that object from...
Read more >
You can't remove a calendar item or an email message in ...
Method 5: Empty the Deleted Items folder. In Outlook, delete all items that are in the Deleted Items folder, and then try to...
Read more >
Delete, disable & manage unused apps on Android
Delete, disable & manage unused apps on Android. You can uninstall apps you've installed on your phone. If you remove an app you...
Read more >
Managing delete markers - Amazon Simple Storage Service
Configuring lifecycle to clean up expired delete markers automatically. An expired object delete marker is one where all object versions are deleted and...
Read more >
Remove apps from iPhone - Apple Support
If you change your mind, you can download the apps again later. ... Wallet (Removing this app doesn't delete cards and passes you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found