php-activerecord icon indicating copy to clipboard operation
php-activerecord copied to clipboard

eager loading is not working with base model have same foreign key

Open jihunleekr opened this issue 8 years ago • 2 comments

Eager loading is not working when books belongs to same author.

I wrote a test code.

https://github.com/jihunleekr/php-activerecord/commit/fd3d56047fef560f0e17a17a90d06685ee506c24

jihunleekr avatar May 18 '16 09:05 jihunleekr

Interesting. Would you like to submit a PR so that we can see the failed test and work towards a solution?

jpfuentes2 avatar May 18 '16 17:05 jpfuentes2

OK. Thank you.

jihunleekr avatar May 19 '16 02:05 jihunleekr