-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
This change is not backwards compatible with this package. This is due to the override of the getAttributes()
model method. If the attribute values aren't strings, the query builder can't bind them properly and you get an "Object could not be converted to string" message.
This looks like it's been in the EloquentTrait for quite a long time, since 86fd1db. What does overriding that method actually provide though? Doesn't the accessor for the field still exist?
Edit: Sorry I didn't bring this issue up in the laravel stapler repo, but this is the repo that contains the EloquentTrait class
Metadata
Metadata
Assignees
Labels
No labels