Open lannodev opened 8 months ago
Feel free to open a PR with the upgrade, don't forget to add some tests
@lannodev did you get this working? I'm also running into this issues updating a project to laravel 11.
Hi @parkourben99 My project is still in version 10. I don't know how to implement this feature =/
I'll give it a go next week. Will let you know how I go.
I'll give it a go next week. Will let you know how I go.
I've created a PR https://github.com/topclaudy/compoships/pull/180 testing it on my project at the moment. I suspect it'll need to be extended to support other database types, not just MySql. Give it a go, see if it works for you.
Before Laravel 11 to use compoships with Eloquent Eager Limit it was necessary to use this Compoships Eager Limit package. Now the Eloquent Eager Limit package is native on Laravel. Please, its possible to make compoships to works with it ?
Using just compoships in laravel 11 I get the following error:
stripos(): Argument #1 ($haystack) must be of type string, array given
example:
All the best