Add DSL for the deletion
Open
enhancement
- Dominant language
- Ruby
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Add DSL feature for the deleting service.
Currently the deletions are described through the `Dalek::Exterminate.deletion_tree` method via data structure.
It will be nice to have DSL build over the deletion tree structure.
### Example
```ruby
class DeleteUser
include Dalek::Exterminate
delete User do
before { ... }
delete :posts do
delete :comments
after { ... }
end
delete :comments do
skip :images
delete :tags
end
handle(:avatars) { ... }
end
end
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.