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

Avoid unnecessary saves. #1

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Avoid unnecessary saves. #1

merged 1 commit into from
Jul 26, 2023

Conversation

arjunadeltoso
Copy link

@arjunadeltoso arjunadeltoso commented Jul 26, 2023

Avoid saving a primary object if none of its fields have been updated.
Avoid updating a primary object field if the value is identical to alias.

Avoid savind a primary object if none of its fields have been updated. Avoid updating a primary object field if the value is identical to alias.
Copy link

@robspassky robspassky left a comment

Choose a reason for hiding this comment

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

lgtm

@arjunadeltoso arjunadeltoso merged commit 2ac838c into master Jul 26, 2023
Copy link

@Taskle Taskle left a comment

Choose a reason for hiding this comment

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

LGTM!

@arjunadeltoso arjunadeltoso deleted the arjunadeltoso-patch-1 branch July 26, 2023 19:05
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.

3 participants