You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sofa/Eloquence ports with its own QueryBuilder class that extends Laravel's. So calling joinRelations on a model that uses Eloquence throws:
ReflectionException: Given object is not an instance of the class this property was declared in
..\vendor\reedware\laravel-relation-joins\src\Concerns\ForwardsParentCalls.php:78
With the introduction of Mixins in Laravel 6.x (and that now being the minimum supported version), I was able to rebuild this package using Mixins, rather than having to override the default query builder and relations.
Since that was the core issue here, I believe we can call this resolved.
Sofa/Eloquence ports with its own QueryBuilder class that extends Laravel's. So calling
joinRelations
on a model that uses Eloquence throws:It was this method:
The text was updated successfully, but these errors were encountered: