Skip to content

add restore functionality#143

Open
mithereal wants to merge 62 commits intorevelrylabs:masterfrom
data-twister:master
Open

add restore functionality#143
mithereal wants to merge 62 commits intorevelrylabs:masterfrom
data-twister:master

Conversation

@mithereal
Copy link

adds the inverse functions of soft delete by setting deleted_at field to nil

@mithereal
Copy link
Author

the reasoning for writing this is bc, i cannot locate the restore function in the codebase, can you tell me which file it is located in? also the reasoning i named it soft_restore is to follow the naming schema of the codebase and to prevent code clashes from other using librarys that might have the restore function defined.

Copy link

@Matsa59 Matsa59 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good.

For tests, dunno what to recommend, maybe the maintainer should take a look and suggest a new test strategy

mithereal and others added 2 commits February 12, 2024 12:39
Co-authored-by: Alexandre Lepretre <alexandre.lprtr@gmail.com>
Copy link
Author

@mithereal mithereal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be good now i removed the index that was not necessary and cleaned up the test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants