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

[Question] Deleting an entity and storing additional information #16

Open
PikkaPikkachu opened this issue Oct 29, 2023 · 0 comments
Open

Comments

@PikkaPikkachu
Copy link

Context

We are trying to populate additional information for modifiedBy in the auditing entity like so, it gets updated fine when creating or updating the entity, but during deletion, the modifyingUserId doesn't get populated, our guess is that it is because of this logic in the library.

Question

We are wondering, why are we saving the event.databaseEntity instead of event.entity during deletion, while it's different for all the save/create operations and if it would be possible to change it to event.entity during deletion as well ?

Thanks for any help with this!

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

No branches or pull requests

1 participant