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

feat(core): execute hooks via EventManager #623

Merged
merged 1 commit into from Jun 23, 2020
Merged

feat(core): execute hooks via EventManager #623

merged 1 commit into from Jun 23, 2020

Conversation

B4nan
Copy link
Member

@B4nan B4nan commented Jun 23, 2020

Lifecycle hooks are now executed the same way as EntitySubscribers, this means that they
will also get the EventArgs in the parameters.

EventArgs now also optionally contain the ChangeSet object, so it is possible to get
the information about what fields actually changed or access the original entity data.

Closes #622

@B4nan B4nan mentioned this pull request Jun 23, 2020
46 tasks
Lifecycle hooks are now executed the same way as `EntitySubscriber`s, this means that they
will also get the `EventArgs` in the parameters.

`EventArgs` now also optionally contain the `ChangeSet` object, so it is possible to get
the information about what fields actually changed or access the original entity data.

Closes #622
@B4nan B4nan merged commit 942a938 into dev Jun 23, 2020
@B4nan B4nan deleted the hook-params branch June 23, 2020 22:17
B4nan added a commit that referenced this pull request Aug 2, 2020
Lifecycle hooks are now executed the same way as `EntitySubscriber`s, this means that they
will also get the `EventArgs` in the parameters.

`EventArgs` now also optionally contain the `ChangeSet` object, so it is possible to get
the information about what fields actually changed or access the original entity data.

Closes #622
B4nan added a commit that referenced this pull request Aug 9, 2020
Lifecycle hooks are now executed the same way as `EntitySubscriber`s, this means that they
will also get the `EventArgs` in the parameters.

`EventArgs` now also optionally contain the `ChangeSet` object, so it is possible to get
the information about what fields actually changed or access the original entity data.

Closes #622
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.

None yet

1 participant