Open mathieufrh opened 4 years ago
Ok I have declared the functions in the Model.php and it is working now.
Hi @mathieufrh, thank you for taking the time to share your experience,
If you want, you can add this method on Cristal\ApiWrapper\Bridges\Laravel\Model
and open a pull request about it :)
Hello,
I want to use the getQualifiedKeyName on the model but it is failing when using a model extending Cristal\ApiWrapper\Bridges\Laravel\Model.
The "User" model is a standard Model class and the "Request" model is a model extending Cristal\ApiWrapper\Bridges\Laravel\Model.
I expect the result to be "requests.id".