feat(core): implement delete with recursive
Which issue does this PR close?
Part of #3922.
Rationale for this change
implement recursive deletion
What changes are included in this PR?
Are there any user-facing changes?
I'm considering another approach. Why don't we implement this functionality in Deleter ? It would make it more explicit. what do you think ? @Xuanwo
I'm considering another approach. Why don't we implement this functionality in
Deleter? It would make it more explicit. what do you think ? @Xuanwo
Would you like to make it more explicit? What's your current plan?
Would you like to make it more explicit? What's your current plan?
I've basically implemented recursive deletion in CompleteLayer, but the code looks somewhat similar to Deleter and BatchDeleter, you can take a look. I'm considering whether implementing this logic in Deleter would be a better choice.
Besides, The logic in CompleteLayer is pretty hidden, Moving it to Deleter would make it more obvious and straightforward.
Or, we could implement RecursiveDeleter based on Deleter