-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
when the HasUlids or HasUuids trait from Illuminate\Database\Eloquent\Concerns\HasUniqueIds is used, the events are never triggered
This results in overwriting the performInsert, performUpdate, etc. methods.
There is a better approach for these cases, just overwriting the builder and the example connection: https://github.com/attla/encoded-attributes/blob/ea9a18be17b7ff3a29d993c808530016d84217d6/src/HasEncodedAttributes.php#L27
This means there is no need to overwrite each original laravel method and maintain frictionless with new laravel updates
Metadata
Metadata
Assignees
Labels
No labels