Cannot use custom audit on cached entities #787
Unanswered
negreanucalin
asked this question in
Q&A
Replies: 1 comment
-
It was not designed to work with cached entities, but feel free to send a PR to add that functionality. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Actual Behaviour
Custom auditing using a cached version of the model does not insert any audits
Expected Behaviour
Audits should be inserted even if the model is cached
Steps to Reproduce
Behaviour:
Setup:
CACHE_DRIVER
to eitherfile
orredis
Steps:
RecordCustomAudit
listener doesn't catch itfor some reason
Working sample:
Known:
AuditCustom::class
)Unknown:
Possible Solutions
N/A
Beta Was this translation helpful? Give feedback.
All reactions