Closed vaibhavpandeyvpz closed 4 years ago
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Hi there. I am trying to use this package in an app that uses
spatie/laravel-activitylog
. If I change any of the model attributes, theschemaless
attribute gets logged into activity as well (flagged as changed). I am curious to knowing what could be causing this?The model class is defined as follows:
Upon updating
enabled
attribute value,settings
attribute is also logged as changed. My best guess is because ofgetSettingsAttribute
returning an object ofSchemalessAttributes
which is later compared with storedarray
type when checking for dirty. Any hints?