You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making use of the axios plugin sometimes we want to append data to existing records, and sometimes we want to overwrite all. Currently there seems to be no simple way to achieve this. Would be nice if there was.
Thank you!
Additional information
Would you be willing to help implement this feature?
Yes please.. I'm really suffering because of the lack of this feature. If another user deletes an item, the next time the API is called that deleted item is no longer returned, but because of the caching layer I'm using it's still visible in other user's browsers.. and it's quite tricky to deal with this problem.
The ideal solution is that whatever is returned by the API should be the new truth and it should overwrite previous records, including replacing ones that are no longer returned.
Describe the feature
Im talking about this: https://pinia-orm.codedredd.de/guide/repository/inserting-data#replacing-whole-data
When making use of the axios plugin sometimes we want to append data to existing records, and sometimes we want to overwrite all. Currently there seems to be no simple way to achieve this. Would be nice if there was.
Thank you!
Additional information
Final checks
The text was updated successfully, but these errors were encountered: