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

Make is_deleted Field Optional and Configurable in Soft Delete Logic #152

Merged
merged 5 commits into from
Sep 6, 2024

Conversation

gal-dahan
Copy link
Contributor

Pull Request Template for FastCRUD

Description

This pull request introduces changes to make the is_deleted field optional and configurable in the soft delete logic of the FastCRUD class. This issues #88

Changes

Added logic to conditionally update the is_deleted column based on its presence in the configuration.
Updated the soft delete process to only set the is_deleted field if it is explicitly configured.

Tests

No new tests have been added yet

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • All new and existing tests passed.

@igorbenav
Copy link
Owner

Hey, @gal-dahan, can you fix the typing?

@gal-dahan
Copy link
Contributor Author

Hey, @gal-dahan, can you fix the typing?

Done ✅

@gal-dahan
Copy link
Contributor Author

gal-dahan commented Sep 6, 2024 via email

@igorbenav
Copy link
Owner

Hi, I did it. Can you approve the PR? ‫בתאריך יום ב׳, 19 באוג׳ 2024 ב-2:53 מאת ‪Igor Benav‬‏ <‪ @.***‬‏>:‬

Nice!
Sorry for the delay

@igorbenav igorbenav merged commit 4862832 into igorbenav:main Sep 6, 2024
7 checks passed
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