Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Avram::SoftDelete #320

Closed
paulcsmith opened this issue Mar 16, 2020 · 1 comment · Fixed by #323
Closed

Add Avram::SoftDelete #320

paulcsmith opened this issue Mar 16, 2020 · 1 comment · Fixed by #323
Labels
feature request A new requested feature / option
Milestone

Comments

@paulcsmith
Copy link
Member

paulcsmith commented Mar 16, 2020

Depends on #319

Module to include in models that adds “soft_delete”. Another module to include in queries to add “only_soft_deleted”, “not_soft_deleted” and other scopes. We could also consider going with the “discard” name to match the ruby gem below

This lib would be similar to https://github.com/jhawthorn/discard

@jwoertink jwoertink added the feature request A new requested feature / option label Mar 16, 2020
@paulcsmith paulcsmith added this to the Avram next milestone Mar 16, 2020
@jkthorne
Copy link
Contributor

This is such a common use-case I am surprised more frameworks dont have this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A new requested feature / option
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants