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

Skip save if no data changed #1153

Merged
merged 5 commits into from
Jun 26, 2024

Conversation

didoda
Copy link
Member

@didoda didoda commented Jun 26, 2024

This provides an enhancement in saving object data.
BEM already verify form data and remove unchanged. This betters this part by handling categories and tags.
This also skips save if no data has changed.

@didoda didoda added feature New feature or request release:minor labels Jun 26, 2024
@didoda didoda added this to the 4.x milestone Jun 26, 2024
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.69%. Comparing base (a204013) to head (429a6b8).
Report is 45 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1153   +/-   ##
=========================================
  Coverage     99.69%   99.69%           
- Complexity     1270     1275    +5     
=========================================
  Files            95       95           
  Lines          4891     4906   +15     
=========================================
+ Hits           4876     4891   +15     
  Misses           15       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@didoda didoda merged commit cb73ddf into bedita:master Jun 26, 2024
14 checks passed
@didoda didoda deleted the feat/skip-save-if-no-data-has-changed branch June 26, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request release:minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants