compoships
compoships copied to clipboard
Multi-columns relationships for Laravel's Eloquent ORM
Before Laravel 11 to use compoships with [Eloquent Eager Limit](https://github.com/staudenmeir/eloquent-eager-limit) it was necessary to use this [Compoships Eager Limit](https://github.com/mpyw/compoships-eager-limit) package. Now the Eloquent Eager Limit package [is native on Laravel](https://www.youtube.com/watch?v=n4oiIa6BDqE)....
While trying to get relation BelongsTo which foreign keys are casted to Enum cause this error: ``` "message": "Object of class CatalogEnum could not be converted to string", "exception": "Error",...