Replies: 1 comment
-
Not really a bug, the package is currently built to deal with arrays. I wouldn't mind using a different accessing method to have it more flexible for objects. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Attempting to match against an array of Eloquent models throws an error
How to reproduce the bug
Package Version
1.0.0
PHP Version
8.3.0
Laravel Version
10.42.0
Which operating systems does with happen with?
No response
Notes
Workaround is to call
getAttributes()
on each model before comparingBeta Was this translation helpful? Give feedback.
All reactions