Consider removing Deleter
interface and always use .=id=X
to delete item
#173
Labels
question
Further information is requested
It looks like that
=numbers=X
is a convenience way to delete items not only by ID, but also byname
,id
, etc.As we moving forward with new
interface-based
implementation for all client resources, we could consider always using item's.id
field to remove it.It would simplify logic and remove some unnecessary code.
Find<ResourceName>()
functions inclient
would need to be updated toFind<ResourceName>ByName()
(in case ofname
attribute) so underlying helper function will:.id
from the record and callDelete()
generic method.However, it will still be possible to delete particular instance of the object, if you have one, e.g:
TODO:
@ddelnano wdyt?
The text was updated successfully, but these errors were encountered: