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
feathers-vuex action API should be remove([id, params]), as the one for the update action is update([id, data, params]) and the feathers service method is remove(id, params)
This prevents passing parameters to remove, disabling softDelete or doing multi-record query deletes.
Actual behavior
The current API is remove(id). parameters are not supported.
Workaround
Use the feathers service method directly.
I'm not sure if this handles soft delete or any sort of complicated remove hook. I assume the record is removed from the store by the id given on the removed service event.
The text was updated successfully, but these errors were encountered:
FossPrime
changed the title
[feature]
[feature] full featured remove action API, with params
Nov 7, 2017
FossPrime
changed the title
[feature] full featured remove action API, with params
[feature remove action API, with params
Nov 7, 2017
FossPrime
changed the title
[feature remove action API, with params
[feature] remove action API, with params
Nov 7, 2017
Expected behavior
feathers-vuex action API should be
remove([id, params])
, as the one for the update action isupdate([id, data, params])
and the feathers service method isremove(id, params)
This prevents passing parameters to remove, disabling softDelete or doing multi-record query deletes.
Actual behavior
The current API is
remove(id)
. parameters are not supported.Workaround
Use the feathers service method directly.
I'm not sure if this handles soft delete or any sort of complicated remove hook. I assume the record is removed from the store by the id given on the removed service event.
The text was updated successfully, but these errors were encountered: