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

Only call callbacks after transaction is committed #31

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

bdurand
Copy link
Owner

@bdurand bdurand commented Dec 5, 2024

Changed

  • After save callbacks are now called only after the transaction is committed and settings have been persisted to the data store. When updating multiple records the callbacks will be called after all changes have been persisted rather than immediatly after calling save! on each record.

@bdurand bdurand merged commit e8ea0ee into main Dec 5, 2024
9 checks passed
@bdurand bdurand deleted the move_callbacks_outside_transaction branch December 5, 2024 20:37
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.

1 participant