Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Add listener to save commit on blob update #1079

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

mAAdhaTTah
Copy link
Collaborator

Update the usage of $this->em->{persist,create} to
$this->{persist,create} to ensure the action isn't dispatched when
saving relations, so we can hook into the blob save action to persist
the commit.

Fixes #866.

@mAAdhaTTah mAAdhaTTah added this to the 2.0.0 milestone Jan 16, 2021
@mAAdhaTTah mAAdhaTTah force-pushed the issue-866-create-commit branch 7 times, most recently from 9df9452 to 2c31cb0 Compare January 16, 2021 23:16
Update the usage of `$this->em->{persist,create}` to
`$this->{persist,create}` to ensure the action isn't dispatched when
saving relations, so we can hook into the blob save action to persist
the commit.

Fixes #866.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Commit not created when creating blob in isolation
1 participant