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

update: allow deleted owners and entities to be resolved #57

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rbondoc96
Copy link
Member

When records are soft deleted, the morphTo relationships return null. This allows records that have been soft deleted to still be returned.

This affects the logger:audit-resolver command. Now, the entity relationship can be loaded even if the Entity has been deleted.

While the owner relationship isn't loaded as part of the command, adding withTrashed to it will allow the owner to be loaded when dealing with the audit record directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant